org.eclipse.higgins.idas.api
Interface IAuthNAttributesMaterials

All Superinterfaces:
IHasAttributes

public interface IAuthNAttributesMaterials
extends IHasAttributes

Represents an authentication identity to be used when calling 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 type may be found by calling getManagedAttrURI(). 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 {getManagedAttrURI()


Method Summary
 IAttribute getManagedAttr()
           
 URI getManagedAttrURI()
           
 
Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes
addAttribute, addAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue
 

Method Detail

getManagedAttrURI

public URI getManagedAttrURI()
Returns:
the URI of the manageable attribute associated with this authentication materials object. null if no manageable attributes are defined

getManagedAttr

public 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.