com.sun.identity.log.spi
Interface  IAuthorizer
- public interface IAuthorizer
This interface defines method for authorization of log operation.
| Method Summary | 
|  boolean | isAuthorized(java.lang.Object credential)Returns true if given subject is authorized to change the password.
 | 
|  boolean | isAuthorized(java.lang.String logName,
             java.lang.String operation,
             java.lang.Object credential)Returns true if a given log record should be published.
 | 
 
isAuthorized
public boolean isAuthorized(java.lang.String logName,
                            java.lang.String operation,
                            java.lang.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
public boolean isAuthorized(java.lang.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.
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.