Interface IAuthorizer


@SupportedAll @Deprecated(since="8.0.0", forRemoval=true) public interface IAuthorizer
Deprecated, for removal: This API element is subject to removal in a future version.
This interface defines method for authorization of log operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.
  • Method Details

    • isAuthorized

      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 - 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, 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.