|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.model.authentication.ValidationFactor
public class ValidationFactor
Validation factors are used to construct a unique token when a com.atlassian.crowd.integration.model.RemotePrincipal
authenticates with the crowd server. When the remote principal later attempts an authentication or authentication
attempt if the validation factors do not match the client will then be considered invalid.
Field Summary | |
---|---|
static String |
NAME
Application name |
static String |
PRIVILEGE_LEVEL
Application-specific privilege level. |
static String |
RANDOM_NUMBER
The Key that represents the generated 'Random-Number' ValidationFactor |
static String |
REMOTE_ADDRESS
The key to use when setting the client remote address. |
static String |
REMOTE_HOST
If you need to set the host - use only for an application. |
static String |
X_FORWARDED_FOR
The key to use when setting the client remote forwarding address through a proxy. |
Constructor Summary | |
---|---|
ValidationFactor()
|
|
ValidationFactor(String name,
String value)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getName()
Gets the name. |
String |
getValue()
Gets the value. |
int |
hashCode()
|
void |
setName(String name)
Sets the name. |
void |
setValue(String value)
Sets the value. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String REMOTE_ADDRESS
public static final String REMOTE_HOST
public static final String X_FORWARDED_FOR
public static final String RANDOM_NUMBER
public static final String NAME
public static final String PRIVILEGE_LEVEL
Constructor Detail |
---|
public ValidationFactor()
public ValidationFactor(String name, String value)
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name.public String getValue()
public void setValue(String value)
value
- The value.public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |