Annotation Interface DependsOn


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface DependsOn

An annotation that describes dependency of the configuration of an AuthenticationProvider on that of others. For example, the configuration of TwoLeggedOAuthAuthenticationProvider (i.e., to enable 2LO) depends the configuration of OAuthAuthenticationProvider (i.e., OAuth being enabled).

This dependency will work recursively. If A depends on B, and B depends on C, then A implicitly depends on C. Such dependency information could be used to perform clean up when removing one provider.

Since:
4.1.2