public class ISAuthorizer extends Object implements IAuthorizer
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 and Description |
---|
ISAuthorizer() |
Modifier and Type | Method and Description |
---|---|
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. |
public boolean isAuthorized(String logName, String operation, Object credential)
true
if a given log record should be published.isAuthorized
in interface IAuthorizer
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.public boolean isAuthorized(Object credential)
true
if given subject is authorized to change the
password.isAuthorized
in interface IAuthorizer
credential
- Credential to be checked for authorization.true
if given subject is authorized to change the
password.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.