|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExternalAuthorizer
The ExternalAuthorizer
interface is implemented to create a custom mechanism that allows external
systems to participate and evaluate policy permissions. Third-party applications that need to provide functionality
to evaluate the permissions based on their permission model will implement this interface as part of a DSC and
register it. During the evaluation of a policy at runtime, if the policy requires external authorization, the
Rights Management service will call the evaluate()
method and pass all the information as part of the
ExternalAuthDTO
object. The returned value will be
processed by the Rights Management service, and the result will be used to return the final outcome to the client.
Field Summary | |
---|---|
static java.lang.String |
SPECIFICATION_ID
Specification identifier property. |
Method Summary | |
---|---|
ExternalAuthResultDTO |
evaluate(ExternalAuthDTO authDto)
Retrieves the evaluation result from external authorization systems. |
ExternalAuthPropertyDTO[] |
getProviderProperties()
Retrieves a list of custom properties and values implemented by the external authorizer. |
Field Detail |
---|
static final java.lang.String SPECIFICATION_ID
component.xml
. The Rights Management
service queries the container to find out all the implementations for this interface.
Method Detail |
---|
ExternalAuthResultDTO evaluate(ExternalAuthDTO authDto)
authDto
parameter. The external authorization system can query
ExternalAuthDTO
to extract the relevant information
authDto
- This object is created and intialized by the Rights Managment service and contains information
about the user, policy, license, and other details.
ExternalAuthPropertyDTO[] getProviderProperties()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |