Package com.ibm.security.access.policy
Interface Session
public interface Session
This interface represents the session of the current user access.
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) Get the value of the attribute with the specified name.removeAttribute
(String name) Remove the attribute with the specified name, and return the value of the removed attribute.void
setAttribute
(String name, Object value) Set the value of the attribute with the specified name.
-
Method Details
-
getAttribute
Get the value of the attribute with the specified name.- Parameters:
name
- The attribute name.- Returns:
- The attribute value.
-
setAttribute
Set the value of the attribute with the specified name.- Parameters:
name
- The attribute name.value
- The attribute value.
-
removeAttribute
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.
-