org.idoox.security.server
Interface ReceivedCredentials

All Superinterfaces:
Credentials, java.security.Principal

public interface ReceivedCredentials
extends Credentials

This interface represents credentials received during service invocation on the server side. It can be used by authorization, auditing, etc.

Since:
3.0
Component:
Security-Core

Field Summary
static int DELEGATION_MODE_COMPOSITE_DELEGATION
           
static int DELEGATION_MODE_NO_DELEGATION
          Constants returned by the getDelegationMode method.
static int DELEGATION_MODE_SIMPLE_DELEGATION
           
static int DELEGATION_STATE_DELEGATE
           
static int DELEGATION_STATE_INITIATOR
          Constants returned by the getDelegationState method.
 
Fields inherited from interface org.idoox.security.Credentials
AUTH_STATUS_EXPIRED, AUTH_STATUS_INCOMPLETE, AUTH_STATUS_SUCCESS
 
Method Summary
 Credentials getAcceptingCredentials()
          Returns server side credentials which were used for target authentication to the client
 int getDelegationMode()
          Returns delegation mode for this instance
 int getDelegationState()
          Returns delegation state for this instance
 
Methods inherited from interface org.idoox.security.Credentials
getAcceptingOptionsRequired, getAcceptingOptionsSupported, getAuthenticationStatus, getInvocationOptionsRequired, getInvocationOptionsSupported, getProviderName, getSubject, setAcceptingOptionsRequired, setAcceptingOptionsSupported, setInvocationOptionsRequired, setInvocationOptionsSupported
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Field Detail

DELEGATION_STATE_INITIATOR

public static final int DELEGATION_STATE_INITIATOR
Constants returned by the getDelegationState method.

See Also:
Constant Field Values

DELEGATION_STATE_DELEGATE

public static final int DELEGATION_STATE_DELEGATE
See Also:
Constant Field Values

DELEGATION_MODE_NO_DELEGATION

public static final int DELEGATION_MODE_NO_DELEGATION
Constants returned by the getDelegationMode method.

See Also:
Constant Field Values

DELEGATION_MODE_SIMPLE_DELEGATION

public static final int DELEGATION_MODE_SIMPLE_DELEGATION
See Also:
Constant Field Values

DELEGATION_MODE_COMPOSITE_DELEGATION

public static final int DELEGATION_MODE_COMPOSITE_DELEGATION
See Also:
Constant Field Values
Method Detail

getAcceptingCredentials

public Credentials getAcceptingCredentials()
Returns server side credentials which were used for target authentication to the client

Returns:
credentials used for target to client authentication

getDelegationState

public int getDelegationState()
Returns delegation state for this instance

Returns:
delegation state for this credentials instance

getDelegationMode

public int getDelegationMode()
Returns delegation mode for this instance

Returns:
delagation mode for this instance