Interface ActiveMQSecurityManager5

    • Method Detail

      • authorize

        boolean authorize​(Subject subject,
                          Set<> roles,
                          String address)
        Determine whether the given user has the correct role for the given check type. This method is called instead of ActiveMQSecurityManager.validateUserAndRole(String, String, Set, CheckType).
        subject - the Subject to authorize
        roles - the roles configured in the security-settings
        checkType - which permission to validate
        address - the address (or FQQN) to grant access to
        true if the user is authorized, else false