|
Project Aristotle - ArisID Attribute Services | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDigitalSubject
A DigitalSubject is the basic holder of attributes, predicates, and roles representing an Identity. A DigitalSubject is provided as retrieved Subject entity from an Attribute Authority. A DigitalSubject may be ANY addressable entity in an network. Some examples are: persons, servers, applications.
| Method Summary | |
|---|---|
boolean |
compare(IDigitalSubject subj)
Compares the digital subjects to see if the contents are a match. |
IAttributeValue |
getAttributeValue(java.lang.String name)
Returns the IAttributeValue containing the values for the request
Attribute as identified by its name identifier. |
java.util.Map<java.lang.String,IAttributeValue> |
getAttrVals()
A Map containing any requested IAttributeValue objects. |
java.lang.Exception |
getError()
Returns an Exception or null depending on whether there was an error returning the subject. |
IMultiContextIdentifier |
getMultiContextIdentifier()
If the subject is made from multiple attribute authorities, it will have a IMultiContextIdentifier. |
java.util.Map<java.lang.String,PredicateValue> |
getPredicateValues()
|
IPrincipalIdentifier |
getPrincipalIdentifier()
Returns the IPrincipalIdentifier (a subclass of java.security.Principal) for the subject. |
java.util.Set<java.lang.String> |
getRoles()
|
java.lang.String |
getSubjectName()
Returns a String representation of the subject identifier. |
boolean |
hasRole(java.lang.String role)
|
boolean |
isError()
Returns whether there was an error returning this subject. |
boolean |
isMultiContext()
Returns whether this IDigitalSubject is based on multiple contexts. |
java.lang.Boolean |
isPredicateTrue(java.lang.String name)
Returns whether a particular predicate condition is true. |
| Method Detail |
|---|
java.util.Map<java.lang.String,IAttributeValue> getAttrVals()
IAttributeValue objects. Note an
AttributeValue may contain a value or an error.
IAttributeValue getAttributeValue(java.lang.String name)
IAttributeValue containing the values for the request
Attribute as identified by its name identifier.
name - The name identifier for the attribute request.
IAttributeValue containing the values for the requested
attribute name identifier.java.lang.String getSubjectName()
IPrincipalIdentifier.getName().
IPrincipalIdentifier getPrincipalIdentifier()
IMultiContextIdentifier getMultiContextIdentifier()
boolean isMultiContext()
boolean isError()
java.lang.Exception getError()
java.lang.Boolean isPredicateTrue(java.lang.String name)
name - The name id of a predicate.
java.util.Map<java.lang.String,PredicateValue> getPredicateValues()
boolean hasRole(java.lang.String role)
role - The name id of the role to be returned.
java.util.Set<java.lang.String> getRoles()
boolean compare(IDigitalSubject subj)
subj - The DigitalSubject to be compared.
|
OpenLiberty.org - Licensed under Apache APL 2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||