Interface AuthenticationEvaluator<T extends AbstractAuthenticationContext>

    • Method Detail

      • authenticate

        org.springframework.security.authentication.UsernamePasswordAuthenticationToken authenticate​(com.evolveum.midpoint.security.api.ConnectionEnvironment connEnv,
                                                                                                     T authnCtx)
                                                                                              throws org.springframework.security.authentication.BadCredentialsException,
                                                                                                     org.springframework.security.authentication.AuthenticationCredentialsNotFoundException,
                                                                                                     org.springframework.security.authentication.DisabledException,
                                                                                                     org.springframework.security.authentication.LockedException,
                                                                                                     org.springframework.security.authentication.CredentialsExpiredException,
                                                                                                     org.springframework.security.authentication.AuthenticationServiceException,
                                                                                                     org.springframework.security.access.AccessDeniedException,
                                                                                                     org.springframework.security.core.userdetails.UsernameNotFoundException
        Throws:
        org.springframework.security.authentication.BadCredentialsException
        org.springframework.security.authentication.AuthenticationCredentialsNotFoundException
        org.springframework.security.authentication.DisabledException
        org.springframework.security.authentication.LockedException
        org.springframework.security.authentication.CredentialsExpiredException
        org.springframework.security.authentication.AuthenticationServiceException
        org.springframework.security.access.AccessDeniedException
        org.springframework.security.core.userdetails.UsernameNotFoundException
      • checkCredentials

        @NotNull
        @NotNull FocusType checkCredentials​(com.evolveum.midpoint.security.api.ConnectionEnvironment connEnv,
                                            T authnCtx)
                                     throws org.springframework.security.authentication.BadCredentialsException,
                                            org.springframework.security.authentication.AuthenticationCredentialsNotFoundException,
                                            org.springframework.security.authentication.DisabledException,
                                            org.springframework.security.authentication.LockedException,
                                            org.springframework.security.authentication.CredentialsExpiredException,
                                            org.springframework.security.authentication.AuthenticationServiceException,
                                            org.springframework.security.access.AccessDeniedException,
                                            org.springframework.security.core.userdetails.UsernameNotFoundException
        Throws:
        org.springframework.security.authentication.BadCredentialsException
        org.springframework.security.authentication.AuthenticationCredentialsNotFoundException
        org.springframework.security.authentication.DisabledException
        org.springframework.security.authentication.LockedException
        org.springframework.security.authentication.CredentialsExpiredException
        org.springframework.security.authentication.AuthenticationServiceException
        org.springframework.security.access.AccessDeniedException
        org.springframework.security.core.userdetails.UsernameNotFoundException
      • authenticateUserPreAuthenticated

        org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken authenticateUserPreAuthenticated​(com.evolveum.midpoint.security.api.ConnectionEnvironment connEnv,
                                                                                                                                     AbstractAuthenticationContext authnCtx)
                                                                                                                              throws org.springframework.security.authentication.DisabledException,
                                                                                                                                     org.springframework.security.authentication.AuthenticationServiceException,
                                                                                                                                     org.springframework.security.core.userdetails.UsernameNotFoundException
        Throws:
        org.springframework.security.authentication.DisabledException
        org.springframework.security.authentication.AuthenticationServiceException
        org.springframework.security.core.userdetails.UsernameNotFoundException