Class CswsAuthority.AuthorizationResponseDescription
- java.lang.Object
-
- org.apache.manifoldcf.core.cachemanager.BaseDescription
-
- org.apache.manifoldcf.authorities.authorities.csws.CswsAuthority.AuthorizationResponseDescription
-
- All Implemented Interfaces:
org.apache.manifoldcf.core.interfaces.ICacheDescription
- Enclosing class:
- CswsAuthority
protected static class CswsAuthority.AuthorizationResponseDescription extends org.apache.manifoldcf.core.cachemanager.BaseDescriptionThis is the cache object descriptor for cached access tokens from this connector.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringauthenticationServicePathprotected longexpirationTimeThe expiration timeprotected java.lang.StringmemberServicePathprotected longresponseLifetimeprotected java.lang.StringserverHTTPSKeystoreprotected java.lang.StringserverNameprotected java.lang.StringserverPasswordprotected intserverPortprotected java.lang.StringserverProtocolprotected java.lang.StringserverUsernameprotected java.lang.StringuserNameThe user name associated with the access tokens
-
Constructor Summary
Constructors Constructor Description AuthorizationResponseDescription(java.lang.String userName, java.lang.String serverProtocol, java.lang.String serverName, int serverPort, java.lang.String serverUsername, java.lang.String serverPassword, java.lang.String authenticationServicePath, java.lang.String memberServicePath, org.apache.manifoldcf.connectorcommon.interfaces.IKeystoreManager serverHTTPSKeystore, long responseLifetime, int LRUsize)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetCriticalSectionName()Get the critical section name, used for synchronizing the creation of the objectlonggetObjectExpirationTime(long currentTime)Return the object expiration intervalorg.apache.manifoldcf.core.interfaces.StringSetgetObjectKeys()Return the invalidation keys for this object.inthashCode()
-
-
-
Field Detail
-
userName
protected final java.lang.String userName
The user name associated with the access tokens
-
serverProtocol
protected final java.lang.String serverProtocol
-
serverName
protected final java.lang.String serverName
-
serverPort
protected final int serverPort
-
serverUsername
protected final java.lang.String serverUsername
-
serverPassword
protected final java.lang.String serverPassword
-
authenticationServicePath
protected final java.lang.String authenticationServicePath
-
memberServicePath
protected final java.lang.String memberServicePath
-
serverHTTPSKeystore
protected final java.lang.String serverHTTPSKeystore
-
responseLifetime
protected long responseLifetime
-
expirationTime
protected long expirationTime
The expiration time
-
-
Constructor Detail
-
AuthorizationResponseDescription
public AuthorizationResponseDescription(java.lang.String userName, java.lang.String serverProtocol, java.lang.String serverName, int serverPort, java.lang.String serverUsername, java.lang.String serverPassword, java.lang.String authenticationServicePath, java.lang.String memberServicePath, org.apache.manifoldcf.connectorcommon.interfaces.IKeystoreManager serverHTTPSKeystore, long responseLifetime, int LRUsize) throws org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionConstructor.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
-
Method Detail
-
getObjectKeys
public org.apache.manifoldcf.core.interfaces.StringSet getObjectKeys()
Return the invalidation keys for this object.
-
getCriticalSectionName
public java.lang.String getCriticalSectionName()
Get the critical section name, used for synchronizing the creation of the object
-
getObjectExpirationTime
public long getObjectExpirationTime(long currentTime)
Return the object expiration interval- Specified by:
getObjectExpirationTimein interfaceorg.apache.manifoldcf.core.interfaces.ICacheDescription- Overrides:
getObjectExpirationTimein classorg.apache.manifoldcf.core.cachemanager.BaseDescription
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-