Hitachi

uCosminexus Application Server Security Management Guide


The getAttributeNames method

Organization of this page

Description

Obtains a list of attribute names bound to the subject. If the alias of the attribute is specified in the AttributeEntry class, this method returns that alias.

Syntax

public Enumeration getAttributeNames()
  throws IllegalStateException;

Parameters

None

Exception

java.lang.IllegalStateException:

If the object is invalid, java.lang.IllegalStateException occurs. Note that this exception inherits from java.lang.RuntimeException and can therefore be compiled without being defined in catch or throws.

This exception occurs when both of the following conditions coexist:

  • The subject that has this object is read-only.

  • The logout process is performed using the logout method.

Return value

This method returns a list of attribute names bound to the subject. If the alias of the attribute is specified in the AttributeEntry class, it returns that alias.