Package com.sun.identity.log.spi
Class ISAuthorizer
- java.lang.Object
-
- com.sun.identity.log.spi.ISAuthorizer
-
- All Implemented Interfaces:
IAuthorizer
public class ISAuthorizer extends Object implements IAuthorizer
This class implements the authorization plugin interface.When a LogRecord is passed into the logging framework it has to be verified if the client has the necessary authorization to perform this log operation. This class provides a model implementation for the authorization plugin.
-
-
Constructor Summary
Constructors Constructor Description ISAuthorizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAuthorized(Object credential)Returnstrueif given subject is authorized to change the password.booleanisAuthorized(String logName, String operation, Object credential)Returnstrueif a given log record should be published.
-
-
-
Method Detail
-
isAuthorized
public boolean isAuthorized(String logName, String operation, Object credential)
Returnstrueif a given log record should be published.- Specified by:
isAuthorizedin interfaceIAuthorizer- 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:
trueif the credential is authorized.
-
isAuthorized
public boolean isAuthorized(Object credential)
Returnstrueif given subject is authorized to change the password.- Specified by:
isAuthorizedin interfaceIAuthorizer- Parameters:
credential- Credential to be checked for authorization.- Returns:
trueif given subject is authorized to change the password.
-
-