com.sun.identity.log.spi
Interface IAuthorizer


public interface IAuthorizer

This interface defines method for authorization of log operation.


Method Summary
 boolean isAuthorized(Object credential)
          Returns true if given subject is authorized to change the password.
 boolean isAuthorized(String logName, String operation, Object credential)
          Returns true if a given log record should be published.
 

Method Detail

isAuthorized

boolean isAuthorized(String logName,
                     String operation,
                     Object credential)
Returns true if a given log record should be published.

Parameters:
logName - Log name on which operation is to be performed.
operation - The log operation to be performed.
credential - The credential to be authorized.
Returns:
true if the credential is authorized.

isAuthorized

boolean isAuthorized(Object credential)
Returns true if given subject is authorized to change the password.

Parameters:
credential - Credential to be checked for authorization.
Returns:
true if given subject is authorized to change the password.