Interface ActiveMQSecurityManager3

    • Method Detail

      • validateUserAndRole

        String validateUserAndRole​(String user,
                                   String password,
                                   Set<> roles,
                                   String address,
                                   RemotingConnection remotingConnection)
        Determine whether the given user is valid and whether they have the correct role for the given destination address. This method is called instead of ActiveMQSecurityManager.validateUserAndRole(String, String, Set, CheckType).
        user - the user
        password - the user's password
        roles - the user's roles
        checkType - which permission to validate
        address - the address for which to perform authorization
        remotingConnection - the user's connection
        the name of the validated user or null if the user isn't validated