Hitachi

uCosminexus Application Server Security Management Guide


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

AttributeEntry constructor

Creates an instance of the AttributeEntry class.

getAlias method

Obtains the alias specified by the setAlias method or constructor.

getAttributeName method

Obtains the attribute name specified by the setAttributeName method or constructor.

getSubcontext method

Obtains the subcontext specified by the setSubcontext method or constructor.

setAlias method

Stores the alias specified by the parameter into the object.

setAttributeName method

Stores the attribute name specified by the parameter into the object.

setSubcontext method

Stores the subcontext specified by the parameter into the object.

Organization of this section