Package org.opencastproject.security.lti
Class LtiLaunchAuthenticationHandler
java.lang.Object
org.opencastproject.security.lti.LtiLaunchAuthenticationHandler
- All Implemented Interfaces:
org.springframework.security.oauth.provider.OAuthAuthenticationHandler
public class LtiLaunchAuthenticationHandler
extends Object
implements org.springframework.security.oauth.provider.OAuthAuthenticationHandler
-
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, org.springframework.security.oauth.provider.ConsumerAuthentication authentication, org.springframework.security.oauth.provider.token.OAuthAccessProviderToken authToken) 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
-
LtiLaunchAuthenticationHandler
public LtiLaunchAuthenticationHandler()
-
-
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, org.springframework.security.oauth.provider.ConsumerAuthentication authentication, org.springframework.security.oauth.provider.token.OAuthAccessProviderToken authToken) - Specified by:
createAuthenticationin interfaceorg.springframework.security.oauth.provider.OAuthAuthenticationHandler- See Also:
-