Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.server_api
Interface OperationVerificationResponse

All Superinterfaces:
java.io.Serializable

public interface OperationVerificationResponse
extends java.io.Serializable

An object that provides the response to a request to determine whether an operation is valid to invoke.

See Also:
OperationVerificationRequest, Server.checkOperation(oracle.iam.rm.server_api.IdentityToken,OperationVerificationRequest[],boolean,long)

Method Summary
 java.lang.String getDefinitionId()
          Gets the ID of the definition for the operation whose authorization was checked.
 java.lang.String getFailureReason()
          Gets the reson for why the request would not have been valid.
 java.lang.String getOperationId()
          Gets the ID of the operation whose authorization was checked.
 java.util.Map getViolations()
          Gets the violation messages keyed by the ID of the argument whose value would have made the request invalid.
 boolean isValid()
          Indicates whether the operation would have been valid.

 

Method Detail

getDefinitionId

java.lang.String getDefinitionId()
Gets the ID of the definition for the operation whose authorization was checked.
Returns:
String representing the definitionId for the operation whose authorization was checked.

getOperationId

java.lang.String getOperationId()
Gets the ID of the operation whose authorization was checked.
Returns:
String representing the operation whose authorization was checked.

isValid

boolean isValid()
Indicates whether the operation would have been valid.
Returns:
Boolean true if the operation would have been valid, otherwise false.

getFailureReason

java.lang.String getFailureReason()
Gets the reson for why the request would not have been valid.
Returns:
the reason why the operation would not have been valid or null if it would have been valid.

getViolations

java.util.Map getViolations()
Gets the violation messages keyed by the ID of the argument whose value would have made the request invalid. The Map may be empty if the reason for the request not being valid is not specific to an argument.
Returns:
Map of violation messages keyed by the ID of the argument whose value would have made the request invalid.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.