Class JaasAuthenticationBroker

    • Constructor Detail

      • JaasAuthenticationBroker

        public JaasAuthenticationBroker​(Broker next,
                                        String jassConfiguration)
    • Method Detail

      • authenticate

        public SecurityContext authenticate​(String username,
                                            String password,
                                            X509Certificate[] certificates)
                                     throws SecurityException
        Description copied from interface: AuthenticationBroker
        Authenticate the given user using the mechanism provided by this service.
        Parameters:
        username - the given user name to authenticate, null indicates an anonymous user.
        password - the given password for the user to authenticate.
        certificates - for an SSL channel the certificates from remote peer.
        Returns:
        a new SecurityContext for the authenticated user.
        Throws:
        SecurityException - if the user cannot be authenticated.