com.sun.identity.log.spi
Class  Authorizer
java.lang.Object
  |
  +--com.sun.identity.log.spi.Authorizer
- public class Authorizer- extends java.lang.Object
This class is used to verify the authorization of the
 of the person who is trying to perform a log operation.
 
| Method Summary | 
| static boolean | isAuthorized(java.lang.Object credential)Returns true if given subject is authorized to change the password.
 | 
| static boolean | isAuthorized(java.lang.String logName,
             java.lang.String operation,
             java.lang.Object credential)Returns true if a given log record should be published.
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Authorizer
public Authorizer()
isAuthorized
public static 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- Log operation to be performed.
- credential- Credential to be authorized.
- Returns:
- true if the credential is authorized.
 
isAuthorized
public static 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.