Class SharePointAuthority.AuthorizationResponseDescription

  • All Implemented Interfaces:
    org.apache.manifoldcf.core.interfaces.ICacheDescription
    Enclosing class:
    SharePointAuthority

    protected static class SharePointAuthority.AuthorizationResponseDescription
    extends org.apache.manifoldcf.core.cachemanager.BaseDescription
    This is the cache object descriptor for cached access tokens from this connector.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.manifoldcf.core.cachemanager.BaseDescription

        org.apache.manifoldcf.core.cachemanager.BaseDescription.LocalCacheClass
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long expirationTime
      The expiration time
      protected java.lang.String password  
      protected long responseLifetime
      The response lifetime
      protected java.lang.String serverLocation  
      protected java.lang.String serverName  
      protected java.lang.String serverPortString  
      protected java.lang.String serverProtocol  
      protected java.lang.String serverUserName  
      protected java.lang.String userName
      The user name
      • Fields inherited from class org.apache.manifoldcf.core.cachemanager.BaseDescription

        _rcsid, cacheClass, MAX_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthorizationResponseDescription​(java.lang.String userName, java.lang.String serverName, java.lang.String serverPortString, java.lang.String serverLocation, java.lang.String serverProtocol, java.lang.String serverUserName, java.lang.String password, long responseLifetime, int LRUsize)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getCriticalSectionName()
      Get the critical section name, used for synchronizing the creation of the object
      long getObjectExpirationTime​(long currentTime)
      Return the object expiration interval
      org.apache.manifoldcf.core.interfaces.StringSet getObjectKeys()
      Return the invalidation keys for this object.
      int hashCode()  
      • Methods inherited from class org.apache.manifoldcf.core.cachemanager.BaseDescription

        getObjectClass
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • userName

        protected final java.lang.String userName
        The user name
      • responseLifetime

        protected final long responseLifetime
        The response lifetime
      • expirationTime

        protected long expirationTime
        The expiration time
      • serverName

        protected final java.lang.String serverName
      • serverPortString

        protected final java.lang.String serverPortString
      • serverLocation

        protected final java.lang.String serverLocation
      • serverProtocol

        protected final java.lang.String serverProtocol
      • serverUserName

        protected final java.lang.String serverUserName
      • password

        protected final java.lang.String password
    • Constructor Detail

      • AuthorizationResponseDescription

        public AuthorizationResponseDescription​(java.lang.String userName,
                                                java.lang.String serverName,
                                                java.lang.String serverPortString,
                                                java.lang.String serverLocation,
                                                java.lang.String serverProtocol,
                                                java.lang.String serverUserName,
                                                java.lang.String password,
                                                long responseLifetime,
                                                int LRUsize)
        Constructor.
    • 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:
        getObjectExpirationTime in interface org.apache.manifoldcf.core.interfaces.ICacheDescription
        Overrides:
        getObjectExpirationTime in class org.apache.manifoldcf.core.cachemanager.BaseDescription
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object