|
Project Aristotle - ArisID Attribute Services | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IReadInteraction
An interaction object used for reading IDigitalSubject
s from an
ArisID service.
Method Summary | |
---|---|
IDigitalSubject |
doGet(IPrincipalIdentifier subjectIdentifierKey,
java.util.Map<java.lang.String,IPolicy> dynamicConstraintsMap,
javax.security.auth.Subject user)
The getIdentity method is used to retrieve attributes and properties about individuals based on the declared interaction and a subject index value. |
IDigitalSubject |
doGet(IPrincipalIdentifier subjectIdentifierKey,
javax.security.auth.Subject user)
The getIdentity method is used to retrieve attributes and properties about individuals based on the declared interaction and a subject index value. |
IDigitalSubject |
doGetByRequest(javax.servlet.http.HttpServletRequest request,
java.util.Map<java.lang.String,IPolicy> dynamicConstraintsMap,
javax.security.auth.Subject user)
This getIdentityByServletReq allows the attribute service to locate information using content from the ServletRequest object such as form input, or SAML assertions to process a lookup defined in the Interaction. |
IDigitalSubject |
doGetByRequest(javax.servlet.http.HttpServletRequest request,
javax.security.auth.Subject user)
This getIdentityByServletReq allows the attribute service to locate information using content from the ServletRequest object such as form input, or SAML assertions to process a lookup defined in the Interaction. |
boolean |
isRead()
|
Methods inherited from interface org.openliberty.arisid.IInteraction |
---|
appendNode, getAttributeDef, getAttributeIds, getAttributePolicyDef, getAttributeRef, getAttributeRefs, getAttributeService, getDescription, getEntityName, getFilter, getInteractionPolicyDef, getNameId, getOperationType, getPredicateDef, getPredicateIds, getPredicatePolicyDef, getPredicateRef, getPredicateRefs, getRoleDef, getRoleIds, getRolePolicyDef, getRoleRef, getRoleRefs, getTransactionPolicy, isAdd, isCompare, isDelete, isFind, isModify, isSearch |
Method Detail |
---|
boolean isRead()
isRead
in interface IInteraction
IDigitalSubject doGet(IPrincipalIdentifier subjectIdentifierKey, javax.security.auth.Subject user) throws ConnectionException, PolicyException, NoSuchContextException, NoSuchSubjectException, SubjectNotUniqueException, SchemaException, MappingException, DeclarationException
subjectIdentifierKey
- the unique of the user to be retrieveduser
- the credential context performing the read or null if the
transaction is to be done using the application credential
context alone.
ConnectionException
- is thrown when a network or other connection problem has
occurred causing the transaction to fail.
PolicyException
- is thrown when the the transaction has failed due to policy
or consent failure.
NoSuchContextException
- is thrown when the subject cannot be mapped to an available
context. This is usually suggestive of a configuration
problem.
NoSuchSubjectException
- is thrown when the user cannot be mapped within a context to
perform the operation.
SubjectNotUniqueException
- is thrown when the subject or user cannot be uniquely mapped
to a single context or is not unique within a context.
SchemaException
- is thrown when an attribute is not successfully matched to a
context. This can be due to a missing attribute or a
non-compatible syntax error.
MappingException
- is thrown when an error has occurred in mapping a value to a
particular schema. In this case, the schema was valid, but
the value was either invalid or not mappable.
DeclarationException
IAttrSvcStack.doRead(IReadInteraction, IPrincipalIdentifier, Map,
Subject)
IDigitalSubject doGet(IPrincipalIdentifier subjectIdentifierKey, java.util.Map<java.lang.String,IPolicy> dynamicConstraintsMap, javax.security.auth.Subject user) throws ConnectionException, PolicyException, NoSuchContextException, NoSuchSubjectException, SubjectNotUniqueException, SchemaException, MappingException, DeclarationException
subjectIdentifierKey
- the unique of the user to be retrieveddynamicConstraintsMap
- A map containing a set of dynamic constraints relevant to the
transaction. The map index is either an attribute, predicate,
or role name, or interaction name (to define policy at the
interaction level). This parameter is used for things like
specifying a localization constraint on an attribute.user
- the credential context performing the read or null if the
transaction is to be done using the application credential
context alone.
ConnectionException
- is thrown when a network or other connection problem has
occurred causing the transaction to fail.
PolicyException
- is thrown when the the transaction has failed due to policy
or consent failure.
NoSuchContextException
- is thrown when the subject cannot be mapped to an available
context. This is usually suggestive of a configuration
problem.
NoSuchSubjectException
- is thrown when the user cannot be mapped within a context to
perform the operation.
SubjectNotUniqueException
- is thrown when the subject or user cannot be uniquely mapped
to a single context or is not unique within a context.
SchemaException
- is thrown when an attribute is not successfully matched to a
context. This can be due to a missing attribute or a
non-compatible syntax error.
MappingException
- is thrown when an error has occurred in mapping a value to a
particular schema. In this case, the schema was valid, but
the value was either invalid or not mappable.
DeclarationException
IAttrSvcStack.doRead(IReadInteraction, IPrincipalIdentifier, Map,
Subject)
IDigitalSubject doGetByRequest(javax.servlet.http.HttpServletRequest request, javax.security.auth.Subject user) throws ConnectionException, PolicyException, NoSuchContextException, NoSuchSubjectException, SubjectNotUniqueException, SchemaException, MappingException, DeclarationException
request
- the ServletRequest
object to be parsed for a Subject
contextuser
- the credential context performing the read or null if the
transaction is to be done using the application credential
context alone.
ConnectionException
- is thrown when a network or other connection problem has
occurred causing the transaction to fail.
PolicyException
- is thrown when the the transaction has failed due to policy
or consent failure.
NoSuchContextException
- is thrown when the subject cannot be mapped to an available
context. This is usually suggestive of a configuration
problem.
NoSuchSubjectException
- is thrown when the user cannot be mapped within a context to
perform the operation.
SubjectNotUniqueException
- is thrown when the subject or user cannot be uniquely mapped
to a single context or is not unique within a context.
SchemaException
- is thrown when an attribute is not successfully matched to a
context. This can be due to a missing attribute or a
non-compatible syntax error.
MappingException
- is thrown when an error has occurred in mapping a value to a
particular schema. In this case, the schema was valid, but
the value was either invalid or not mappable.
DeclarationException
IAttrSvcStack.doRead(IReadInteraction, HttpServletRequest, Map,
Subject)
IDigitalSubject doGetByRequest(javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,IPolicy> dynamicConstraintsMap, javax.security.auth.Subject user) throws ConnectionException, PolicyException, NoSuchContextException, NoSuchSubjectException, SubjectNotUniqueException, SchemaException, MappingException, DeclarationException
request
- the ServletRequest
object to be parsed for a Subject
contextdynamicConstraintsMap
- A map containing a set of dynamic constraints relevant to the
transaction. The map index is either an attribute, predicate,
or role name, or interaction name (to define policy at the
interaction level). This parameter is used for things like
specifying a localization constraint on an attribute.user
- the credential context performing the read or null if the
transaction is to be done using the application credential
context alone.
ConnectionException
- is thrown when a network or other connection problem has
occurred causing the transaction to fail.
PolicyException
- is thrown when the the transaction has failed due to policy
or consent failure.
NoSuchContextException
- is thrown when the subject cannot be mapped to an available
context. This is usually suggestive of a configuration
problem.
NoSuchSubjectException
- is thrown when the user cannot be mapped within a context to
perform the operation.
SubjectNotUniqueException
- is thrown when the subject or user cannot be uniquely mapped
to a single context or is not unique within a context.
SchemaException
- is thrown when an attribute is not successfully matched to a
context. This can be due to a missing attribute or a
non-compatible syntax error.
MappingException
- is thrown when an error has occurred in mapping a value to a
particular schema. In this case, the schema was valid, but
the value was either invalid or not mappable.
DeclarationException
IAttrSvcStack.doRead(IReadInteraction, HttpServletRequest, Map,
Subject)
|
OpenLiberty.org - Licensed under Apache APL 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |