Package org.opencastproject.security.lti
Class LtiLaunchAuthenticationHandlerImpl
java.lang.Object
org.opencastproject.security.lti.LtiLaunchAuthenticationHandlerImpl
- All Implemented Interfaces:
LtiLaunchAuthenticationHandler
public class LtiLaunchAuthenticationHandlerImpl
extends Object
implements 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(SecurityService securityService) Sets the security service.voidsetUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService userDetailsService) voidsetUserReferenceProvider(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
Sets the user reference provider.- Parameters:
userReferenceProvider- the user reference provider
-
setSecurityService
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 interfaceLtiLaunchAuthenticationHandler
-