org.eclipse.higgins.idas.api
Interface IAuthNAttributesMaterials
- All Superinterfaces:
- IAuthNMaterials, IHasAttributes, Serializable
public interface IAuthNAttributesMaterials
- extends IHasAttributes, IAuthNMaterials
Represents an authentication identity to be used when calling org.eclipse.higgins.idas.api.IContext#open(Object)
This type of identity is comprised of a set of attributes which make up the materials used in authentication.
Among the materials may be found one attribute which is a secret that can be managed (such as a password attribute
that may be changed).
The manageable attribute's ID may be found by calling getManagedAttrID(). This will be null when there is no manageable attribute.
The manageable attribute's instance may be gotten by calling getManagedAttr().
Note that it is preferable for implementors of this interface to define a:
public static final URI ATTR_MANAGED_URI which is a URI representing the same URI returned by {getManagedAttrID()
getManagedAttrID
URI getManagedAttrID()
- Returns:
- the attrID URI of the manageable attribute associated with this authentication materials object.
null if no manageable attributes are defined
getManagedAttr
IAttribute getManagedAttr()
- Returns:
- the manageable attribute associated with this authentication materials object.
null if no manageable attribute is defined or when it is not yet populated.