com.atlassian.applinks.api.auth
Annotation Type DependsOn


@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.

Since:
4.1.2

Required Element Summary
 Class<? extends AuthenticationProvider>[] value
           
 

Element Detail

value

public abstract Class<? extends AuthenticationProvider>[] value


Copyright © 2015 Atlassian. All rights reserved.