public class ConfigurableLoginHandler extends Object implements org.opencastproject.security.shibboleth.ShibbolethLoginHandler, org.opencastproject.security.api.RoleProvider, org.osgi.service.cm.ManagedService
| Modifier | Constructor and Description |
|---|---|
|
ConfigurableLoginHandler() |
protected |
ConfigurableLoginHandler(org.osgi.framework.BundleContext bundleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
existingUserLogin(String id,
javax.servlet.http.HttpServletRequest request)
Handle an existing user login.
|
Iterator<org.opencastproject.security.api.Role> |
findRoles(String query,
org.opencastproject.security.api.Role.Target target,
int offset,
int limit) |
String |
getOrganization() |
List<org.opencastproject.security.api.Role> |
getRolesForUser(String userName) |
void |
newUserLogin(String id,
javax.servlet.http.HttpServletRequest request)
Handle a new user login.
|
void |
setSecurityService(org.opencastproject.security.api.SecurityService securityService)
Sets the security service.
|
void |
setUserReferenceProvider(org.opencastproject.userdirectory.api.UserReferenceProvider userReferenceProvider)
Sets the user reference provider.
|
void |
updated(Dictionary properties) |
public ConfigurableLoginHandler()
protected ConfigurableLoginHandler(org.osgi.framework.BundleContext bundleContext)
public void updated(Dictionary properties) throws org.osgi.service.cm.ConfigurationException
updated in interface org.osgi.service.cm.ManagedServiceorg.osgi.service.cm.ConfigurationExceptionpublic void newUserLogin(String id, javax.servlet.http.HttpServletRequest request)
newUserLogin in interface org.opencastproject.security.shibboleth.ShibbolethLoginHandlerid - The identity of the user, ideally the Shibboleth persistent unique identifierrequest - The request, for accessing any other Shibboleth variablespublic void existingUserLogin(String id, javax.servlet.http.HttpServletRequest request)
existingUserLogin in interface org.opencastproject.security.shibboleth.ShibbolethLoginHandlerid - The identity of the user, ideally the Shibboleth persistent unique identifierrequest - The request, for accessing any other Shibboleth variablespublic void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
securityService - the security servicepublic void setUserReferenceProvider(org.opencastproject.userdirectory.api.UserReferenceProvider userReferenceProvider)
userReferenceProvider - the user reference providerpublic List<org.opencastproject.security.api.Role> getRolesForUser(String userName)
getRolesForUser in interface org.opencastproject.security.api.RoleProviderRoleProvider.getRolesForUser(String)public String getOrganization()
getOrganization in interface org.opencastproject.security.api.RoleProviderRoleProvider.getOrganization()public Iterator<org.opencastproject.security.api.Role> findRoles(String query, org.opencastproject.security.api.Role.Target target, int offset, int limit)
findRoles in interface org.opencastproject.security.api.RoleProviderRoleProvider.findRoles(String, Role.Target, int, int)Copyright © 2009–2021 Opencast Project. All rights reserved.