com.atlassian.crowd.integration.authentication
Class ValidationFactor

java.lang.Object
  extended by com.atlassian.crowd.integration.authentication.ValidationFactor
All Implemented Interfaces:
Serializable

public class ValidationFactor
extends Object
implements Serializable

Validation factors are used to construct a unique token when a 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.

Version:
1.0
Author:
Justen Stepka
See Also:
Serialized Form

Field Summary
static String ACCEPT
           
static String NAME
           
static String REMOTE_ADDRESS
          The key to use when setting the client remote address.
static String USER_AGENT
          The key to use when setting the client Browser User-Agent.
static String X_FORWARDED_FOR
          The key to use when setting the client remote forwarding address through a proxy.
 
Constructor Summary
ValidationFactor()
           
 
Method Summary
 String getName()
          Gets the name.
 String getValue()
          Gets the value.
 void setName(String name)
          Sets the name.
 void setValue(String value)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_AGENT

public static final String USER_AGENT
The key to use when setting the client Browser User-Agent.

See Also:
Constant Field Values

REMOTE_ADDRESS

public static final String REMOTE_ADDRESS
The key to use when setting the client remote address. Host should not beused because if a DNS server is comprimized, the host value can then be forged.

See Also:
Constant Field Values

X_FORWARDED_FOR

public static final String X_FORWARDED_FOR
The key to use when setting the client remote forwarding address through a proxy.

See Also:
Constant Field Values

ACCEPT

public static final String ACCEPT
See Also:
Constant Field Values

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

ValidationFactor

public ValidationFactor()
Method Detail

getName

public String getName()
Gets the name.

Returns:
The name.

setName

public void setName(String name)
Sets the name.

Parameters:
name - The name.

getValue

public String getValue()
Gets the value.

Returns:
The value.

setValue

public void setValue(String value)
Sets the value.

Parameters:
value - The value.


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.