Class AuthenticatorControl
- java.lang.Object
-
- org.apache.archiva.redback.authentication.AuthenticatorControl
-
- All Implemented Interfaces:
Comparable<AuthenticatorControl>
public class AuthenticatorControl extends Object implements Comparable<AuthenticatorControl>
Gives a priority and what to do, if the authentication succeeds.- Since:
- 3.0
- Author:
- Martin Stockhammer
-
-
Constructor Summary
Constructors Constructor Description AuthenticatorControl(String name, int priority, AuthenticationControl control)
AuthenticatorControl(String name, int priority, AuthenticationControl control, boolean active)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AuthenticatorControl o)
AuthenticationControl
getControl()
String
getName()
int
getPriority()
boolean
isActive()
-
-
-
Constructor Detail
-
AuthenticatorControl
public AuthenticatorControl(String name, int priority, AuthenticationControl control)
-
AuthenticatorControl
public AuthenticatorControl(String name, int priority, AuthenticationControl control, boolean active)
-
-
Method Detail
-
getPriority
public int getPriority()
-
getControl
public AuthenticationControl getControl()
-
compareTo
public int compareTo(AuthenticatorControl o)
- Specified by:
compareTo
in interfaceComparable<AuthenticatorControl>
-
isActive
public boolean isActive()
-
-