public abstract class SimpleAbstractRoleMapper extends Object implements RoleMapper
It takes no initialisation parameters, and assumes all users that exist can log in.
This abstract class is a replacement for people that were previously extending the "GroupRoleMapper".
| Constructor and Description |
|---|
SimpleAbstractRoleMapper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLogin(Principal user,
javax.servlet.http.HttpServletRequest request)
In the SimpleAbstractRoleMapper implementation, Users can login if they exist.
|
void |
init(Map<String,String> params,
SecurityConfig config)
Initialise the configuration object with the given "init-params".
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasRolepublic void init(Map<String,String> params, SecurityConfig config)
Initablepublic boolean canLogin(Principal user, javax.servlet.http.HttpServletRequest request)
canLogin in interface RoleMapperCopyright © 2018 Atlassian. All rights reserved.