com.sun.identity.log.spi
インタフェース IAuthorizer


public interface IAuthorizer

This interface defines method for authorization of log operation.


メソッドの概要
 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.
 

メソッドの詳細

isAuthorized

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

パラメータ:
logName - Log name on which operation is to be performed.
operation - The log operation to be performed.
credential - The credential to be authorized.
戻り値:
true if the credential is authorized.

isAuthorized

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

パラメータ:
credential - Credential to be checked for authorization.
戻り値:
true if given subject is authorized to change the password.