Class UserInfoMapper
java.lang.Object
ch.admin.bit.jeap.oauth.mock.server.token.UserInfoMapper
- All Implemented Interfaces:
Function<org.springframework.security.oauth2.server.authorization.oidc.authentication.OidcUserInfoAuthenticationContext,org.springframework.security.oauth2.core.oidc.OidcUserInfo>
public class UserInfoMapper
extends Object
implements Function<org.springframework.security.oauth2.server.authorization.oidc.authentication.OidcUserInfoAuthenticationContext,org.springframework.security.oauth2.core.oidc.OidcUserInfo>
This implemetation is taken from
OidcUserInfoAuthenticationProvider.DefaultOidcUserInfoMapper,
and has been adapted to resemble user info as issued by Keycloak with the PAMS plugin.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.core.oidc.OidcUserInfoapply(org.springframework.security.oauth2.server.authorization.oidc.authentication.OidcUserInfoAuthenticationContext authenticationContext)
-
Constructor Details
-
UserInfoMapper
public UserInfoMapper()
-
-
Method Details
-
apply
public org.springframework.security.oauth2.core.oidc.OidcUserInfo apply(org.springframework.security.oauth2.server.authorization.oidc.authentication.OidcUserInfoAuthenticationContext authenticationContext)
-