Class LDAPAuthority.LdapAuthorizationResponseDescription
- java.lang.Object
-
- org.apache.manifoldcf.core.cachemanager.BaseDescription
-
- org.apache.manifoldcf.authorities.authorities.ldap.LDAPAuthority.LdapAuthorizationResponseDescription
-
- All Implemented Interfaces:
org.apache.manifoldcf.core.interfaces.ICacheDescription
- Enclosing class:
- LDAPAuthority
protected class LDAPAuthority.LdapAuthorizationResponseDescription 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 java.lang.StringgroupSearchGroup search definitionprotected longresponseLifetimeThe response lifetimeprotected java.lang.StringuserNameThe user nameprotected java.lang.StringuserSearchUser search definition
-
Constructor Summary
Constructors Constructor Description LdapAuthorizationResponseDescription(java.lang.String userName, java.lang.String connectionString, java.lang.String userSearch, java.lang.String groupSearch, 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 java.lang.String userName
The user name
-
connectionString
protected java.lang.String connectionString
LDAP connection string with server name and base DN
-
userSearch
protected java.lang.String userSearch
User search definition
-
groupSearch
protected java.lang.String groupSearch
Group search definition
-
responseLifetime
protected 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
-
-