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 java.lang.Object implements com.xebialabs.xlrelease.security.authentication.policy.UserProfileCreationPolicyFill UserProfile from Open ID Connect Claimshttp://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
-
-
Constructor Summary
Constructors Constructor Description OidcUserProfileCreationPolicy(com.xebialabs.xlrelease.service.UserProfileService userProfileService, com.xebialabs.deployit.security.UserService userService, java.lang.String emailClaim, java.lang.String fullNameClaim, java.lang.String externalIdClaim)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.xebialabs.xlrelease.domain.UserProfilecreateProfile(org.springframework.security.core.Authentication authentication)protected java.lang.StringgetString(java.lang.String field, java.util.Map<java.lang.String,java.lang.Object> data)intorder()booleanpolicyApplies(org.springframework.security.core.Authentication authentication)
-
-
-
Constructor Detail
-
OidcUserProfileCreationPolicy
public OidcUserProfileCreationPolicy(com.xebialabs.xlrelease.service.UserProfileService userProfileService, com.xebialabs.deployit.security.UserService userService, java.lang.String emailClaim, java.lang.String fullNameClaim, java.lang.String externalIdClaim)
-
-
Method Detail
-
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
protected java.lang.String getString(java.lang.String field, java.util.Map<java.lang.String,java.lang.Object> data)
-
-