psdi.security

Class AuthenticatedAccessToken

  • java.lang.Object
    • psdi.security.AuthenticatedAccessToken
  • All Implemented Interfaces:
    java.io.Serializable


    public class AuthenticatedAccessToken
    extends java.lang.Object
    implements java.io.Serializable
    A class to represent the access token values obtained after the user is allowed access to the access token bean by the application server. Note: this class is used only when the MAXIMO application is configured to use application server security. The code for this class has been written to completely avoid the dependency on the ejb module classes that are used for generating the access token. This independence gives us the option to compile the business object source without compiling the ejb classes. When you are making changes to this file, please keep this in mind and do not just add class references from the ejb module. This makes sure that the dependency is one way only i.e from ejb module to business object module.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getMaximoBindingName()
      Returns name with which the MAXIMO application is bound in the RMI registry.
      long getSessionCreationTime()
      Returns the access token creation time.
      byte[] getSessionData()
      Returns the session data associated with the access token.
      java.lang.String getTenant() 
      java.lang.String getUserName()
      Returns the user name for which the access token is generated.
      void setMaximoBindingName(java.lang.String string)
      Sets the name with which the MAXIMO application is bound in the RMI registry.
      void setSessionCreationTime(long l)
      Sets the access token creation time.
      void setSessionData(byte[] bs)
      Sets the session data associated with the access token.
      void setTenant(java.lang.String tenant) 
      void setUserName(java.lang.String string)
      Sets the user name for which the access token is generated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthenticatedAccessToken

        public AuthenticatedAccessToken()
    • Method Detail

      • getMaximoBindingName

        public java.lang.String getMaximoBindingName()
        Returns name with which the MAXIMO application is bound in the RMI registry.
        Returns:
        name with which the MAXIMO application is bound in the RMI registry.
      • setMaximoBindingName

        public void setMaximoBindingName(java.lang.String string)
        Sets the name with which the MAXIMO application is bound in the RMI registry.
        Parameters:
        string - the name with which the MAXIMO application is bound in the RMI registry.
      • getSessionCreationTime

        public long getSessionCreationTime()
        Returns the access token creation time.
        Returns:
        the access token creation time.
      • setSessionCreationTime

        public void setSessionCreationTime(long l)
        Sets the access token creation time.
        Parameters:
        l - the access token creation time.
      • getSessionData

        public byte[] getSessionData()
        Returns the session data associated with the access token.
        Returns:
        the session data associated with the access token.
      • setSessionData

        public void setSessionData(byte[] bs)
        Sets the session data associated with the access token.
        Parameters:
        bs - the session data
      • getUserName

        public java.lang.String getUserName()
        Returns the user name for which the access token is generated.
        Returns:
        the user name for which the access token is generated.
      • setUserName

        public void setUserName(java.lang.String string)
        Sets the user name for which the access token is generated.
        Parameters:
        string - the user name
      • getTenant

        public java.lang.String getTenant()
      • setTenant

        public void setTenant(java.lang.String tenant)