Class OpenIDUserInfoStoreImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.oauth2.openid.auth.OpenIDUserInfoStoreImpl
-
- All Implemented Interfaces:
OpenIDUserInfoStore
public class OpenIDUserInfoStoreImpl extends Object implements OpenIDUserInfoStore
-
-
Field Summary
Fields Modifier and Type Field Description static String
DIRECTORY_NAME
static String
ID
protected static Log
log
static String
NUXEO_LOGIN_KEY
static String
OPENID_PROVIDER_KEY
static String
OPENID_SUBJECT_KEY
static String
SCHEMA_NAME
-
Constructor Summary
Constructors Constructor Description OpenIDUserInfoStoreImpl(String providerName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getID(String provider, String subject)
String
getNuxeoLogin(OpenIDUserInfo userInfo)
OpenIDUserInfo
getUserInfo(String nuxeoLogin)
void
storeUserInfo(String userId, OpenIDUserInfo userInfo)
-
-
-
Field Detail
-
log
protected static final Log log
-
DIRECTORY_NAME
public static final String DIRECTORY_NAME
- See Also:
- Constant Field Values
-
SCHEMA_NAME
public static final String SCHEMA_NAME
- See Also:
- Constant Field Values
-
NUXEO_LOGIN_KEY
public static final String NUXEO_LOGIN_KEY
- See Also:
- Constant Field Values
-
OPENID_SUBJECT_KEY
public static final String OPENID_SUBJECT_KEY
- See Also:
- Constant Field Values
-
OPENID_PROVIDER_KEY
public static final String OPENID_PROVIDER_KEY
- See Also:
- Constant Field Values
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpenIDUserInfoStoreImpl
public OpenIDUserInfoStoreImpl(String providerName)
-
-
Method Detail
-
storeUserInfo
public void storeUserInfo(String userId, OpenIDUserInfo userInfo)
- Specified by:
storeUserInfo
in interfaceOpenIDUserInfoStore
-
getNuxeoLogin
public String getNuxeoLogin(OpenIDUserInfo userInfo)
- Specified by:
getNuxeoLogin
in interfaceOpenIDUserInfoStore
-
getUserInfo
public OpenIDUserInfo getUserInfo(String nuxeoLogin)
- Specified by:
getUserInfo
in interfaceOpenIDUserInfoStore
-
-