Package org.apereo.cas.okta
Class OktaAuthenticationStateHandlerAdapter
- java.lang.Object
-
- com.okta.authn.sdk.AuthenticationStateHandlerAdapter
-
- org.apereo.cas.okta.OktaAuthenticationStateHandlerAdapter
-
- All Implemented Interfaces:
com.okta.authn.sdk.AuthenticationStateHandler
public class OktaAuthenticationStateHandlerAdapter extends com.okta.authn.sdk.AuthenticationStateHandlerAdapter- Since:
- 6.2.0
-
-
Constructor Summary
Constructors Constructor Description OktaAuthenticationStateHandlerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleLockedOut(com.okta.authn.sdk.resource.AuthenticationResponse lockedOut)voidhandlePasswordExpired(com.okta.authn.sdk.resource.AuthenticationResponse passwordExpired)voidhandlePasswordReset(com.okta.authn.sdk.resource.AuthenticationResponse passwordReset)voidhandlePasswordWarning(com.okta.authn.sdk.resource.AuthenticationResponse passwordWarning)voidhandleSuccess(com.okta.authn.sdk.resource.AuthenticationResponse successResponse)voidhandleUnauthenticated(com.okta.authn.sdk.resource.AuthenticationResponse unauthenticatedResponse)voidhandleUnknown(com.okta.authn.sdk.resource.AuthenticationResponse authenticationResponse)voidthrowExceptionIfNecessary()Throw exception if necessary.
-
-
-
Method Detail
-
handleUnknown
public void handleUnknown(com.okta.authn.sdk.resource.AuthenticationResponse authenticationResponse)
-
handleUnauthenticated
public void handleUnauthenticated(com.okta.authn.sdk.resource.AuthenticationResponse unauthenticatedResponse)
- Specified by:
handleUnauthenticatedin interfacecom.okta.authn.sdk.AuthenticationStateHandler- Overrides:
handleUnauthenticatedin classcom.okta.authn.sdk.AuthenticationStateHandlerAdapter
-
handleSuccess
public void handleSuccess(com.okta.authn.sdk.resource.AuthenticationResponse successResponse)
- Specified by:
handleSuccessin interfacecom.okta.authn.sdk.AuthenticationStateHandler- Overrides:
handleSuccessin classcom.okta.authn.sdk.AuthenticationStateHandlerAdapter
-
handlePasswordWarning
public void handlePasswordWarning(com.okta.authn.sdk.resource.AuthenticationResponse passwordWarning)
- Specified by:
handlePasswordWarningin interfacecom.okta.authn.sdk.AuthenticationStateHandler- Overrides:
handlePasswordWarningin classcom.okta.authn.sdk.AuthenticationStateHandlerAdapter
-
handlePasswordExpired
public void handlePasswordExpired(com.okta.authn.sdk.resource.AuthenticationResponse passwordExpired)
- Specified by:
handlePasswordExpiredin interfacecom.okta.authn.sdk.AuthenticationStateHandler- Overrides:
handlePasswordExpiredin classcom.okta.authn.sdk.AuthenticationStateHandlerAdapter
-
handlePasswordReset
public void handlePasswordReset(com.okta.authn.sdk.resource.AuthenticationResponse passwordReset)
- Specified by:
handlePasswordResetin interfacecom.okta.authn.sdk.AuthenticationStateHandler- Overrides:
handlePasswordResetin classcom.okta.authn.sdk.AuthenticationStateHandlerAdapter
-
handleLockedOut
public void handleLockedOut(com.okta.authn.sdk.resource.AuthenticationResponse lockedOut)
- Specified by:
handleLockedOutin interfacecom.okta.authn.sdk.AuthenticationStateHandler- Overrides:
handleLockedOutin classcom.okta.authn.sdk.AuthenticationStateHandlerAdapter
-
throwExceptionIfNecessary
public void throwExceptionIfNecessary() throws java.lang.ExceptionThrow exception if necessary.- Throws:
java.lang.Exception- the exception
-
-