|
Oracle Fusion Middleware PDP Extension Java API Reference for Oracle Entitlements Serve 11g Release 1 (11.1.1) E22853-02 EXAPI |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AttributeRetriever
Interface for performing attribute retrieval, an implementation of an AttributeRetriever may be used to get embedded data from complex data objects. For instance if the ContextHandler included a address element, the zipcode portion could be made individually available using an AttributeRetriever. It is generally not necessary to write retrievers for objects which appear directly in the ContextHandler, retrievers are used to extract embedded, or otherwise unaccessible data. Multiple retrievers may be registered for the same attribute name, they will be called in order until one returns a non-null result.
| Method Summary | |
|---|---|
java.lang.Object |
getAttributeValue(java.lang.String name, javax.security.auth.Subject subject, java.util.Map roles, weblogic.security.spi.Resource resource, weblogic.security.service.ContextHandler contextHandler)retrieve the value of the named attribute. |
java.lang.String[] |
getHandledAttributeNames()Returns the names of attributes handled by this object. |
| Method Detail |
|---|
java.lang.Object getAttributeValue(java.lang.String name,
javax.security.auth.Subject subject,
java.util.Map roles,
weblogic.security.spi.Resource resource,
weblogic.security.service.ContextHandler contextHandler)
name - the name of the needed attributesubject - the subject associated with the requestroles - the role membership of the subject, or null if this is a role mapping callresource - the resource associated with the requestcontextHandler - the context associated with the request, may be null if non-existantnull if not foundjava.lang.String[] getHandledAttributeNames()
null value indicates that the retriever will be considered capable of handling any attribute name.
|
Oracle Fusion Middleware PDP Extension Java API Reference for Oracle Entitlements Serve 11g Release 1 (11.1.1) E22853-02 EXAPI |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||