@Documented @Inherited @Retention(value=RUNTIME) @Target(value=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.
| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends AuthenticationProvider>[] |
value |
public abstract Class<? extends AuthenticationProvider>[] value
Copyright © 2020 Atlassian. All rights reserved.