|
||||||||||
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 java.lang.String |
NAME
Application name |
static java.lang.String |
RANDOM_NUMBER
The Key that represents the generated 'Random-Number' ValidationFactor |
static java.lang.String |
REMOTE_ADDRESS
The key to use when setting the client remote address. |
static java.lang.String |
REMOTE_HOST
If you need to set the host - use only for an application. |
static java.lang.String |
X_FORWARDED_FOR
The key to use when setting the client remote forwarding address through a proxy. |
Constructor Summary | |
---|---|
ValidationFactor()
|
|
ValidationFactor(java.lang.String name,
java.lang.String value)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getName()
Gets the name. |
java.lang.String |
getValue()
Gets the value. |
int |
hashCode()
|
void |
setName(java.lang.String name)
Sets the name. |
void |
setValue(java.lang.String value)
Sets the value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REMOTE_ADDRESS
public static final java.lang.String REMOTE_HOST
public static final java.lang.String X_FORWARDED_FOR
public static final java.lang.String RANDOM_NUMBER
public static final java.lang.String NAME
Constructor Detail |
---|
public ValidationFactor()
public ValidationFactor(java.lang.String name, java.lang.String value)
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The value.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |