Class Authorizer


  • @SupportedAll
    @Deprecated
    public class Authorizer
    extends Object
    Deprecated.
    This class is used to verify the authorization of the of the person who is trying to perform a log operation.
    • Constructor Detail

      • Authorizer

        public Authorizer()
        Deprecated.
    • Method Detail

      • isAuthorized

        public static 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 - 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.
        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.