Class CmisAuthorityConnector.AuthorizationResponseDescription
- java.lang.Object
-
- org.apache.manifoldcf.core.cachemanager.BaseDescription
-
- org.apache.manifoldcf.authorities.authorities.cmis.CmisAuthorityConnector.AuthorizationResponseDescription
-
- All Implemented Interfaces:
org.apache.manifoldcf.core.interfaces.ICacheDescription
- Enclosing class:
- CmisAuthorityConnector
protected static class CmisAuthorityConnector.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.StringendpointThe repository endpointprotected longexpirationTimeThe expiration timeprotected java.lang.StringrepositoryIdThe repository idprotected java.lang.StringuserNameThe user name associated with the access tokens
-
Constructor Summary
Constructors Constructor Description AuthorizationResponseDescription(java.lang.String userName, java.lang.String endpoint, java.lang.String repositoryId)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
-
endpoint
protected final java.lang.String endpoint
The repository endpoint
-
repositoryId
protected final java.lang.String repositoryId
The repository id
-
expirationTime
protected long expirationTime
The expiration time
-
-
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
-
-