com.atlassian.crowd.openid.server.model.record
Class AuthAction

java.lang.Object
  extended by com.atlassian.crowd.openid.server.model.record.AuthAction

public class AuthAction
extends java.lang.Object


Field Summary
static AuthAction ALLOW_ALWAYS
          An allow always authentication approval.
static AuthAction ALLOW_ALWAYS_AUTO
          A passthrough authentication request.
static long ALLOW_ALWAYS_AUTO_CODE
          The persistance code for an a passthrough authentication request.
static long ALLOW_ALWAYS_CODE
          The persistance code for an allow relying party authorization response.
static AuthAction ALLOW_ONCE
          An allow once authentication approval.
static long ALLOW_ONCE_CODE
          The persistance code for an allow relying party authorization response.
static AuthAction DENY
          A deny authentication approval.
static long DENY_CODE
          The persistance code for an allow relying party authorization response.
static AuthAction UNKNOWN
          An unknown directory implementation.
static long UNKNOWN_CODE
          The persistance code for an unknown relying party authorization response.
 
Constructor Summary
AuthAction()
          Default constructor.
AuthAction(long code)
          Creates a authorization response with a known code.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 long getCode()
          Gets the current code for the directory type.
 int hashCode()
           
 void setCode(long code)
          Sets the current code for the directory type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static AuthAction UNKNOWN
An unknown directory implementation.


ALLOW_ONCE

public static AuthAction ALLOW_ONCE
An allow once authentication approval.


ALLOW_ALWAYS

public static AuthAction ALLOW_ALWAYS
An allow always authentication approval.


DENY

public static AuthAction DENY
A deny authentication approval.


ALLOW_ALWAYS_AUTO

public static AuthAction ALLOW_ALWAYS_AUTO
A passthrough authentication request.


UNKNOWN_CODE

public static final long UNKNOWN_CODE
The persistance code for an unknown relying party authorization response.

See Also:
Constant Field Values

DENY_CODE

public static final long DENY_CODE
The persistance code for an allow relying party authorization response.

See Also:
Constant Field Values

ALLOW_ONCE_CODE

public static final long ALLOW_ONCE_CODE
The persistance code for an allow relying party authorization response.

See Also:
Constant Field Values

ALLOW_ALWAYS_CODE

public static final long ALLOW_ALWAYS_CODE
The persistance code for an allow relying party authorization response.

See Also:
Constant Field Values

ALLOW_ALWAYS_AUTO_CODE

public static final long ALLOW_ALWAYS_AUTO_CODE
The persistance code for an a passthrough authentication request.

See Also:
Constant Field Values
Constructor Detail

AuthAction

public AuthAction()
Default constructor.


AuthAction

public AuthAction(long code)
Creates a authorization response with a known code.

Parameters:
code - The directory code.
Method Detail

getCode

public long getCode()
Gets the current code for the directory type.

Returns:
The code.

setCode

public void setCode(long code)
Sets the current code for the directory type.

Parameters:
code - The code.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.