|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.iaccess.TNProtocol.TSessionInfo
public class TSessionInfo
Keeps all (important) session information for a negotiation process. It also keeps relevant information loaded from the negotiation level configuration.
TRequest
Field Summary | |
---|---|
static long |
AccessDecisionTimeValidity
In milliseconds. |
static java.lang.String |
ActualFileSeparator
Specifies the platofrm dependant file separator '\' or '/'. |
static java.lang.String |
ConfigRootDir
Specifies the system variable name that is instantiated in any configuration file. |
static java.lang.String |
CredAnyValueTerm
Defines a specific term used to identify any value in a field of a credential request Initialized in TSessionInfo. |
static int |
Default_TCPportOut
Defines the port of JBOSS TCP/IP Server for outcoming messages. |
static java.lang.String |
DLVWrapperConfigurationFile
Specifies full path to the config_dlv.xml file. |
static long |
DynamicSessionTimeExtension
In milliseconds. |
java.lang.String |
Identity
Keeps the distinguished identity of a SessionInfo object. |
static java.lang.String |
IPaddress
Defines the IP address of the remote iAccess server. |
static boolean |
IsServerAuthorizationMode
Defines a specific mode for authorization handling. |
static java.lang.String |
MinimalityCriterion
Specifies MinimalityCriterion (ON/OFF). |
static boolean |
MultiSessionSharedCreds
Indicates if active credentials are to be shared in multi-session negotiations between same entities. |
long |
negStartTime
Keeps the time when the SessionInfo is created, i.e. |
static int |
OSType
Specifies OS type. |
static java.lang.String |
RootDir
Specifies the root folder of the system. |
java.lang.String |
ServiceRequest
Keeps information about the main (initial) service request. |
static long |
SessionTimeLimit
In milliseconds. |
static int |
TCPportIn
Defines the port of JBOSS TCP/IP Server for incoming messages. |
int |
TCPportOut
Updated dynamically from the incoming requests. |
java.lang.ThreadGroup |
TNThreadGroup
Keeps information about all theads serving the negotiation process. |
Constructor Summary | |
---|---|
TSessionInfo(TRequest Request)
Creates a new instance of TSessionInfo. |
Method Summary | |
---|---|
void |
DecreaseBlockCnegCounter()
Decreases the counter when a new thread starts the trust negotiation protocol, or awaits for the result on the existing thread of same request. |
java.util.Vector |
GetCN()
Returns the current set of declined credentials/certificates. |
java.util.Vector |
GetCP()
Returns the current set of presented credentials/certificates. |
java.lang.String |
GetCredAnyValueTermOpponent()
Gets the SetCredAnyValueTermOpponent. |
long |
GetValidNotAfter()
Returns the time in milliseconds when a session expires. |
void |
IncreaseBlockCnegCounter()
Increases the counter of the threads already been created but not started the trust negotiation protocol. |
static void |
LoadSessionConfig(java.lang.String ConfigPath)
Loads session information from config.xml file. |
void |
RemoveCneg()
Removes current thread from the negotiation process, i.e. |
void |
SetCredAnyValueTermOpponent(java.lang.String CredAnyValueTermOpponent)
Sets the SetCredAnyValueTermOpponent. |
void |
SetValidNotAfter(long ValidNotAfter)
Sets the time in milliseconds when session should expire |
void |
UpdateCN(java.lang.String NewCN)
Adds a new declined credential/certificate to the existing set of declined credentials. |
void |
UpdateCP(java.lang.String NewCP)
Adds a new presented credential/certificate to the existing set of presented credentials. |
void |
UpdateCP(java.lang.String[] NewCP)
Adds a set of presented credentials/certificates to the existing set of presented credentials. |
void |
UpdateCP(java.util.Vector NewCP)
Adds a set of presented credentials/certificates to the existing set of presented credentials. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static long SessionTimeLimit
public static long DynamicSessionTimeExtension
public static long AccessDecisionTimeValidity
public static int TCPportIn
public static int Default_TCPportOut
public int TCPportOut
public static java.lang.String IPaddress
public static java.lang.String MinimalityCriterion
public static java.lang.String DLVWrapperConfigurationFile
public static java.lang.String RootDir
public static java.lang.String ConfigRootDir
public static java.lang.String ActualFileSeparator
public static int OSType
public java.lang.String Identity
public java.lang.ThreadGroup TNThreadGroup
public long negStartTime
public java.lang.String ServiceRequest
public static boolean MultiSessionSharedCreds
public static java.lang.String CredAnyValueTerm
public static boolean IsServerAuthorizationMode
Constructor Detail |
---|
public TSessionInfo(TRequest Request)
Request
- Must be invoked as a request for a service. It returns immediately if not.Method Detail |
---|
public void UpdateCN(java.lang.String NewCN)
TSessionInfo.TCN
public void UpdateCP(java.lang.String NewCP)
TSessionInfo.TCP
public void UpdateCP(java.lang.String[] NewCP)
TSessionInfo.TCP
public void UpdateCP(java.util.Vector NewCP)
TSessionInfo.TCP
public java.util.Vector GetCN()
TSessionInfo.TCN
public java.util.Vector GetCP()
TSessionInfo.TCP
public long GetValidNotAfter()
public void SetCredAnyValueTermOpponent(java.lang.String CredAnyValueTermOpponent)
public java.lang.String GetCredAnyValueTermOpponent()
public void SetValidNotAfter(long ValidNotAfter)
public void IncreaseBlockCnegCounter()
public void DecreaseBlockCnegCounter()
public void RemoveCneg()
public static void LoadSessionConfig(java.lang.String ConfigPath) throws java.lang.Exception
java.lang.Exception
- File path is not valid, or format of Session Configuration info is not correct, or unrecognized OS type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |