Skip navigation links
com.sun.xml.ws.runtime.dev

Class Session

    • Constructor Detail

      • Session

        protected Session()
      • Session

        public Session(SessionManager manager,
                       String key,
                       Object userData)
        Public constructor
        Parameters:
        manager - - A SessionManager that can handle Sessions of this type.
        key - - The unique session id
        data - - Holder for user-defined data.
    • Method Detail

      • getSessionKey

        @ManagedAttribute
         @Description(value="Session key")
        public String getSessionKey()
        Accessor for Session Key.
      • getUserData

        public Object getUserData()
        Accessor for the userData field.
        Returns:
        The value of the field.
      • getSecurityInfo

        @ManagedAttribute
         @Description(value="Security context token info")
        public SecurityContextTokenInfo getSecurityInfo()
        Accessor for the securityInfo field.
      • setSecurityInfo

        public void setSecurityInfo(SecurityContextTokenInfo securityInfo)
        Mutator for the securityInfo field.
      • save

        public void save()
        Saves the state of the session using whatever persistence mechanism the SessionManager offers.

Copyright © 2005–2018 Oracle Corporation. All rights reserved.