Class UserMapperResolver
- java.lang.Object
-
- org.nuxeo.ecm.platform.oauth2.openid.auth.UserResolver
-
- org.nuxeo.ecm.platform.oauth2.openid.auth.UserMapperResolver
-
public class UserMapperResolver extends UserResolver
UserResolver implementation that uses theUserMapperService
- Since:
- 7.4
- Author:
- tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected String
mapperName
-
Constructor Summary
Constructors Constructor Description UserMapperResolver(OpenIDConnectProvider provider, String mapperName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
findNuxeoUser(OpenIDUserInfo userInfo)
String
findOrCreateNuxeoUser(OpenIDUserInfo userInfo)
protected DocumentModel
updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
-
Methods inherited from class org.nuxeo.ecm.platform.oauth2.openid.auth.UserResolver
createNuxeoUser, generateRandomUserId, getProvider
-
-
-
-
Field Detail
-
mapperName
protected String mapperName
-
-
Constructor Detail
-
UserMapperResolver
public UserMapperResolver(OpenIDConnectProvider provider, String mapperName)
-
-
Method Detail
-
findOrCreateNuxeoUser
public String findOrCreateNuxeoUser(OpenIDUserInfo userInfo)
- Overrides:
findOrCreateNuxeoUser
in classUserResolver
-
findNuxeoUser
protected String findNuxeoUser(OpenIDUserInfo userInfo)
- Specified by:
findNuxeoUser
in classUserResolver
-
updateUserInfo
protected DocumentModel updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
- Specified by:
updateUserInfo
in classUserResolver
-
-