Class JDBCAuthority.JdbcAuthorizationResponseDescription
- java.lang.Object
-
- org.apache.manifoldcf.core.cachemanager.BaseDescription
-
- org.apache.manifoldcf.authorities.authorities.jdbc.JDBCAuthority.JdbcAuthorizationResponseDescription
-
- All Implemented Interfaces:
org.apache.manifoldcf.core.interfaces.ICacheDescription
- Enclosing class:
- JDBCAuthority
protected class JDBCAuthority.JdbcAuthorizationResponseDescription 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.StringconnectionStringLDAP connection string with server name and base DNprotected longexpirationTimeThe expiration timeprotected longresponseLifetimeThe response lifetimeprotected java.lang.StringtokenQueryThe token query.protected java.lang.StringuserNameThe user nameprotected java.lang.StringuserQueryThe user query.
-
Constructor Summary
Constructors Constructor Description JdbcAuthorizationResponseDescription(java.lang.String userName, java.lang.String connectionString, java.lang.String userQuery, java.lang.String tokenQuery, 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
-
connectionString
protected final java.lang.String connectionString
LDAP connection string with server name and base DN
-
userQuery
protected final java.lang.String userQuery
The user query.
-
tokenQuery
protected final java.lang.String tokenQuery
The token query.
-
responseLifetime
protected final long responseLifetime
The response lifetime
-
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
-
-