|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
expiryTime Session expiry time. |
static int |
validityTime Session validity time. |
Method Summary | |
int |
countApplicationSessions(String applicationIdentifier, String serviceProviderIdentifier) Counts the number of active sessions filtered on the service provider account and the application account. |
void |
destroyApplicationInstanceSession(String applicationInstanceName) Destroys a current application instance session. |
void |
destroyApplicationSessions(String applicationIdentifier, String serviceProviderIdentifier) Destroys all current sessions for application. |
void |
destroyServiceProviderSessions(String serviceProviderIdentifier) Destroys a current session. |
void |
destroySession(String sessionIdentifier) Destroys a current session. |
SessionDescription |
getApplicationInstanceSession(String applicationInstanceName) Gets currently active or invalid session for specified application instance. |
SessionDescription |
getCurrentSession(String sessionIdentifier) Gets an active or invalid session. |
int |
getExpiryTime() Gets the session expiry time. |
String |
getSessionRequired() Returns the session requirement status. |
int |
getValidityTime() Gets the session validity time. |
String[] |
listApplicationSessions(String applicationIdentifier, String serviceProviderIdentifier, int offset, int size) Lists active sessions. |
void |
setExpiryTime(int time) Sets the session expiry time. |
void |
setSessionRequired(String flag) Sets the session requirement status. |
void |
setValidityTime(int time) Sets the session validity time. |
Field Detail |
public static final int expiryTime
Scope: Domain
public static final int validityTime
Scope: Domain
Method Detail |
public int countApplicationSessions(String applicationIdentifier, String serviceProviderIdentifier) throws KeyNotFoundException
Scope: Domain
applicationIdentifier
- The account (optional).serviceProviderIdentifier
- The service provider ID (optional).KeyNotFoundException
- If no such account exists.public void destroyApplicationInstanceSession(String applicationInstanceName) throws KeyNotFoundException
Scope: Domain
applicationInstanceName
- The application instance name for which to destroy the session.KeyNotFoundException
- If no such application instance exists.public void destroyApplicationSessions(String applicationIdentifier, String serviceProviderIdentifier) throws KeyNotFoundException
Scope: Domain
applicationIdentifier
- The application for which to destroy sessions.serviceProviderIdentifier
- The application service provider.KeyNotFoundException
- If no such account exists.public void destroyServiceProviderSessions(String serviceProviderIdentifier) throws KeyNotFoundException
Scope: Domain
serviceProviderIdentifier
- The application for which to destroy sessions.KeyNotFoundException
- If no such account exists.public void destroySession(String sessionIdentifier) throws KeyNotFoundException
Scope: Domain
sessionIdentifier
- The session to destroy.KeyNotFoundException
- If no such session exists.public SessionDescription getApplicationInstanceSession(String applicationInstanceName)
Scope: Domain
applicationInstanceName
- The application instance name.public SessionDescription getCurrentSession(String sessionIdentifier)
Scope: Domain
sessionIdentifier
- The session ID.public int getExpiryTime()
Scope: Domain
public String getSessionRequired()
Scope: Domain
public int getValidityTime()
Scope: Domain
public String[] listApplicationSessions(String applicationIdentifier, String serviceProviderIdentifier, int offset, int size) throws KeyNotFoundException
Scope: Domain
applicationIdentifier
- The account (optional).serviceProviderIdentifier
- The service provider (optional).offset
- Offset within the complete resultset. Must be >= 0.size
- Number of entries to return. 0 means no limit.KeyNotFoundException
- If no such account exists.public void setExpiryTime(int time)
Scope: Domain
time
- Expiry time in minutes before sessions are removed after invalidation.public void setSessionRequired(String flag) throws InputManagementException
Scope: Domain
flag
- 'Enabled' if sessions should be required to use plug-ins, 'Disabled' if not. 'Optional' means if sessionid is provided in the application request it must be valid. If sessionid is not provided in the request, it will be allowed.InputManagementException
- exception.public void setValidityTime(int time)
Scope: Domain
time
- Validity time in minutes before sessions are invalidated. Use 0 for no expiry.
|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |