15.2 The AttributeEntry class
- Description
-
Represents not only the name and alias of an attribute fetched from the user management repository, but also a tuple containing subcontexts from the user management context. After user authentication, the specified attribute is bound to the public credential of the subject via alias. If no alias is specified, it is bound to that public credential via attribute name.
The package name of this class is com.cosminexus.admin.auth.
- Syntax
class AttributeEntry { public AttributeEntry(String attr, String alias, String subcontext); public AttributeEntry(String attr, String alias); public AttributeEntry(String attr); public AttributeEntry(); public String getAlias(); public String getAttributeName(); public String getSubcontext(); public void setAlias(String alias); public void setAttributeName(String attr); public void setSubcontext(String subcontext); }- Constructor and methods
-
Constructor/method name
Functionality
Creates an instance of the AttributeEntry class.
Obtains the alias specified by the setAlias method or constructor.
Obtains the attribute name specified by the setAttributeName method or constructor.
Obtains the subcontext specified by the setSubcontext method or constructor.
Stores the alias specified by the parameter into the object.
Stores the attribute name specified by the parameter into the object.
Stores the subcontext specified by the parameter into the object.