Interface IAuthorizer


@SupportedAll @Deprecated public interface IAuthorizer
Deprecated.
This interface defines method for authorization of log operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAuthorized(Object credential)
    Deprecated.
    Returns true if given subject is authorized to change the password.
    boolean
    isAuthorized(String logName, String operation, Object credential)
    Deprecated.
    Returns true if a given log record should be published.
  • Method Details

    • isAuthorized

      boolean isAuthorized(String logName, String operation, Object credential)
      Deprecated.
      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

      boolean isAuthorized(Object credential)
      Deprecated.
      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.