Skip navigation links

Oracle Fusion Middleware PDP Extension Java API Reference for Oracle Entitlements Serve
11g Release 1 (11.1.1)

E22853-02 EXAPI


com.bea.security.providers.authorization.asi
Interface AttributeRetrieverV2


public interface AttributeRetrieverV2

Version 2 interface for performing attribute retrieval, an implementation of an AttributeRetrieverV2 may be used to get embedded data from complex data objects. Multiple retrievers may be registered for the same attribute name, they will be called in order until one returns a non-null result. The difference between Version 1 and Version 2 interface: Version 2 interface introduces a RequestHandle parameter, from which the function is able to get ARME internal system attributes.


Method Summary
 java.lang.Object getAttributeValue(java.lang.String name, RequestHandle requestHandle, 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

getAttributeValue

java.lang.Object getAttributeValue(java.lang.String name,
                                   RequestHandle requestHandle,
                                   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. Additional authorization request data is made available to allow for more complex attribute retrieval.
Parameters:
name - the name of the needed attribute
requestHandle - the attributes container associated with the request, through which the function can get required attribute value.
subject - the subject associated with the request
roles - the role membership of the subject key: role name. value: role object null if function is called during role mapping
resource - the resource associated with the request
contextHandler - the context associated with the request, may be null if non-existant
Returns:
the attributes value, or null if not found

getHandledAttributeNames

java.lang.String[] getHandledAttributeNames()
Returns the names of attributes handled by this object. An empty or null value indicates that the retriever will be considered capable of handling any attribute name.
Returns:
the names associated with this object

Skip navigation links

Oracle Fusion Middleware PDP Extension Java API Reference for Oracle Entitlements Serve
11g Release 1 (11.1.1)

E22853-02 EXAPI


Copyright © 2011, Oracle. All rights reserved.