Class OidcUserProfileCreationPolicy
java.lang.Object
com.xebialabs.xlrelease.auth.oidc.policy.impl.OidcUserProfileCreationPolicy
- All Implemented Interfaces:
com.xebialabs.xlrelease.security.authentication.policy.UserProfileCreationPolicy
public class OidcUserProfileCreationPolicy
extends Object
implements com.xebialabs.xlrelease.security.authentication.policy.UserProfileCreationPolicy
Fill UserProfile from Open ID Connect Claims
http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
-
Constructor Summary
ConstructorsConstructorDescriptionOidcUserProfileCreationPolicy(com.xebialabs.xlrelease.service.UserProfileService userProfileService, com.xebialabs.deployit.security.UserService userService, String emailClaim, String fullNameClaim, String externalIdClaim) -
Method Summary
Modifier and TypeMethodDescriptioncom.xebialabs.xlrelease.domain.UserProfilecreateProfile(org.springframework.security.core.Authentication authentication) protected Stringintorder()booleanpolicyApplies(org.springframework.security.core.Authentication authentication)
-
Constructor Details
-
OidcUserProfileCreationPolicy
-
-
Method Details
-
policyApplies
public boolean policyApplies(org.springframework.security.core.Authentication authentication) - Specified by:
policyAppliesin interfacecom.xebialabs.xlrelease.security.authentication.policy.UserProfileCreationPolicy
-
order
public int order()- Specified by:
orderin interfacecom.xebialabs.xlrelease.security.authentication.policy.UserProfileCreationPolicy
-
createProfile
public com.xebialabs.xlrelease.domain.UserProfile createProfile(org.springframework.security.core.Authentication authentication) - Specified by:
createProfilein interfacecom.xebialabs.xlrelease.security.authentication.policy.UserProfileCreationPolicy
-
getString
-