com.ibm.security.access.policy

Interface Session



  • public interface Session
    This interface represents the session of the current user access.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Object getAttribute(java.lang.String name)
      Get the value of the attribute with the specified name.
      java.lang.Object removeAttribute(java.lang.String name)
      Remove the attribute with the specified name, and return the value of the removed attribute.
      void setAttribute(java.lang.String name, java.lang.Object value)
      Set the value of the attribute with the specified name.
    • Method Detail

      • getAttribute

        java.lang.Object getAttribute(java.lang.String name)
        Get the value of the attribute with the specified name.
        Parameters:
        name - The attribute name.
        Returns:
        The attribute value.
      • setAttribute

        void setAttribute(java.lang.String name,
                          java.lang.Object value)
        Set the value of the attribute with the specified name.
        Parameters:
        name - The attribute name.
        value - The attribute value.
      • removeAttribute

        java.lang.Object removeAttribute(java.lang.String name)
        Remove the attribute with the specified name, and return the value of the removed attribute.
        Parameters:
        name - The attribute name.
        Returns:
        The value of the removed attribute.