Class Authorizer

java.lang.Object
com.sun.identity.log.spi.Authorizer

@SupportedAll @Deprecated(since="8.0.0", forRemoval=true) public class Authorizer extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
This class is used to verify the authorization of the of the person who is trying to perform a log operation.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isAuthorized(Object credential)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns true if given subject is authorized to change the password.
    static boolean
    isAuthorized(String logName, String operation, Object credential)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns true if a given log record should be published.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Authorizer

      public Authorizer()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • isAuthorized

      public static boolean isAuthorized(String logName, String operation, Object credential)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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(Object credential)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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.