Class UserResolver
- java.lang.Object
-
- org.nuxeo.ecm.platform.oauth2.openid.auth.UserResolver
-
- Direct Known Subclasses:
EmailBasedUserResolver
,StoredUserInfoResolver
,UserMapperResolver
public abstract class UserResolver extends Object
-
-
Constructor Summary
Constructors Constructor Description UserResolver(OpenIDConnectProvider provider)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected DocumentModel
createNuxeoUser(String nuxeoLogin)
protected abstract String
findNuxeoUser(OpenIDUserInfo userInfo)
String
findOrCreateNuxeoUser(OpenIDUserInfo userInfo)
protected String
generateRandomUserId()
OpenIDConnectProvider
getProvider()
protected abstract DocumentModel
updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
-
-
-
Constructor Detail
-
UserResolver
public UserResolver(OpenIDConnectProvider provider)
-
-
Method Detail
-
getProvider
public OpenIDConnectProvider getProvider()
-
findNuxeoUser
protected abstract String findNuxeoUser(OpenIDUserInfo userInfo)
-
createNuxeoUser
protected DocumentModel createNuxeoUser(String nuxeoLogin)
-
updateUserInfo
protected abstract DocumentModel updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
-
findOrCreateNuxeoUser
public String findOrCreateNuxeoUser(OpenIDUserInfo userInfo)
-
generateRandomUserId
protected String generateRandomUserId()
-
-