Package org.opencastproject.security.lti
Class LtiLaunchAuthenticationHandlerImpl
java.lang.Object
org.opencastproject.security.lti.LtiLaunchAuthenticationHandlerImpl
- All Implemented Interfaces:
org.opencastproject.kernel.security.LtiLaunchAuthenticationHandler
public class LtiLaunchAuthenticationHandlerImpl
extends Object
implements org.opencastproject.kernel.security.LtiLaunchAuthenticationHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.service.component.ComponentContext cc) org.springframework.security.core.AuthenticationcreateAuthentication(javax.servlet.http.HttpServletRequest request) voidsetSecurityService(org.opencastproject.security.api.SecurityService securityService) Sets the security service.voidsetUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService userDetailsService) voidsetUserReferenceProvider(org.opencastproject.userdirectory.api.UserReferenceProvider userReferenceProvider) Sets the user reference provider.
-
Constructor Details
-
LtiLaunchAuthenticationHandlerImpl
public LtiLaunchAuthenticationHandlerImpl()
-
-
Method Details
-
setUserDetailsService
public void setUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService userDetailsService) -
setUserReferenceProvider
public void setUserReferenceProvider(org.opencastproject.userdirectory.api.UserReferenceProvider userReferenceProvider) Sets the user reference provider.- Parameters:
userReferenceProvider- the user reference provider
-
setSecurityService
public void setSecurityService(org.opencastproject.security.api.SecurityService securityService) Sets the security service.- Parameters:
securityService- the security service
-
activate
protected void activate(org.osgi.service.component.ComponentContext cc) -
createAuthentication
public org.springframework.security.core.Authentication createAuthentication(javax.servlet.http.HttpServletRequest request) - Specified by:
createAuthenticationin interfaceorg.opencastproject.kernel.security.LtiLaunchAuthenticationHandler
-