Class OAuth2AdminSuccessHandler
java.lang.Object
sk.iway.iwcm.system.spring.oauth2.AbstractOAuth2SuccessHandler
sk.iway.iwcm.system.spring.oauth2.OAuth2AdminSuccessHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
-
Field Summary
Fields inherited from class sk.iway.iwcm.system.spring.oauth2.AbstractOAuth2SuccessHandler
EMAIL_ATTRIBUTE, FAMILY_NAME_ATTRIBUTE, GIVEN_NAME_ATTRIBUTE, GROUP_MEMBERSHIP_ATTRIBUTE, GROUPS_ATTRIBUTE, PICTURE_ATTRIBUTE, REALM_ACCESS_ATTRIBUTE, RESOURCE_ACCESS_ATTRIBUTE, ROLE_PREFIX, ROLES_ATTRIBUTE, USERNAME_ATTRIBUTE_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) Methods inherited from class sk.iway.iwcm.system.spring.oauth2.AbstractOAuth2SuccessHandler
createNewUserFromOAuth2, extractFromAttribute, extractFromRealmAccess, extractFromResourceAccess, extractGroupsFromOAuth2, extractRolesFromClientResource, extractRolesFromRolesObject, getProviderId, getUsernameAttribute, handleError, logOAuth2Attributes, shouldSyncPermissions, updateExistingUserFromOAuth2Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess
-
Constructor Details
-
OAuth2AdminSuccessHandler
public OAuth2AdminSuccessHandler()
-
-
Method Details
-
onAuthenticationSuccess
public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException - Specified by:
onAuthenticationSuccessin interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler- Specified by:
onAuthenticationSuccessin classAbstractOAuth2SuccessHandler- Throws:
IOException
-