Class UserMapperBasedResolver
- java.lang.Object
-
- org.nuxeo.ecm.platform.auth.saml.user.UserMapperBasedResolver
-
- All Implemented Interfaces:
UserResolver
public class UserMapperBasedResolver extends Object implements UserResolver
UserResolver implementation that uses theUserMapperService
- Since:
- 7.4
- Author:
- tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
createIfNeeded
protected static String
DEFAULT_USER_MAPPER_CONFIG
protected String
mapperName
protected boolean
update
protected static String
USER_RESOLVER_CREATE_IF_NEEDED
protected static String
USER_RESOLVER_MAPPING
protected static String
USER_RESOLVER_UPDATE
-
Constructor Summary
Constructors Constructor Description UserMapperBasedResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
findOrCreateNuxeoUser(SAMLCredential userInfo)
void
init(Map<String,String> parameters)
-
-
-
Field Detail
-
USER_RESOLVER_MAPPING
protected static final String USER_RESOLVER_MAPPING
- See Also:
- Constant Field Values
-
USER_RESOLVER_CREATE_IF_NEEDED
protected static final String USER_RESOLVER_CREATE_IF_NEEDED
- See Also:
- Constant Field Values
-
USER_RESOLVER_UPDATE
protected static final String USER_RESOLVER_UPDATE
- See Also:
- Constant Field Values
-
DEFAULT_USER_MAPPER_CONFIG
protected static final String DEFAULT_USER_MAPPER_CONFIG
- See Also:
- Constant Field Values
-
mapperName
protected String mapperName
-
createIfNeeded
protected boolean createIfNeeded
-
update
protected boolean update
-
-
Method Detail
-
init
public void init(Map<String,String> parameters)
- Specified by:
init
in interfaceUserResolver
-
findOrCreateNuxeoUser
public String findOrCreateNuxeoUser(SAMLCredential userInfo)
- Specified by:
findOrCreateNuxeoUser
in interfaceUserResolver
-
-