Class DenyAccessAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.access.DenyAccessAuthenticator
- All Implemented Interfaces:
Authenticator,Provider
Explicitly deny access to the resources.
Useful for example in the conditional flows to be used after satisfying the previous conditions. after satisfying conditions in the conditional flow.
- Author:
- Martin Bartos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaction(AuthenticationFlowContext context) voidauthenticate(AuthenticationFlowContext context) voidclose()booleanconfiguredFor(KeycloakSession session, RealmModel realm, UserModel user) booleanvoidsetRequiredActions(KeycloakSession session, RealmModel realm, UserModel user) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.Authenticator
areRequiredActionsEnabled, getRequiredActions
-
Constructor Details
-
DenyAccessAuthenticator
public DenyAccessAuthenticator()
-
-
Method Details
-
authenticate
- Specified by:
authenticatein interfaceAuthenticator
-
action
- Specified by:
actionin interfaceAuthenticator
-
requiresUser
public boolean requiresUser()- Specified by:
requiresUserin interfaceAuthenticator
-
configuredFor
- Specified by:
configuredForin interfaceAuthenticator
-
setRequiredActions
- Specified by:
setRequiredActionsin interfaceAuthenticator
-
close
public void close()
-