com.sun.identity.log.spi
Interface IAuthorizer
- public interface IAuthorizer
A AuthzPlugin can be used to verify the authorization of the
of the person who is trying to perform a log operation.
- Since:
- Sun ONE Identity Server 6.0
Method Summary |
boolean |
isAuthorized(java.lang.Object credential)
Check if the given subject is authorized to change the password or not. |
boolean |
isAuthorized(java.lang.String logName,
java.lang.String operation,
java.lang.Object credential)
Check if a given log record should be published. |
isAuthorized
public boolean isAuthorized(java.lang.String logName,
java.lang.String operation,
java.lang.Object credential)
- Check if a given log record should be published.
- Parameters:
logName
- LogName on which operation is to be performedoperation
- The log operation to be performedcredential
- The credential to be authorized- Returns:
- true if the credential is authorized.
isAuthorized
public boolean isAuthorized(java.lang.Object credential)
- Check if the given subject is authorized to change the password or not.
- Parameters:
credential
- The credential to be checked for authorization.