Package com.protegrity.ap.java
Class SessionObject
java.lang.Object
com.protegrity.ap.java.SessionObject
Hold the session object used in the API methods.
The session object is obtained by using the API method createSession. An example follows:
Sample source:
SessionObject session = protectorApi.createSession( "policy user" );
- Author:
- Protegrity
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SessionObject
Default construct- Parameters:
apiUser- String containing the user name defined in the policy
-
-
Method Details
-
getSessionId
Get session id. Retrieve the unique session id.- Returns:
- The session UUID
-