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 Details

    • LtiLaunchAuthenticationHandler

      public LtiLaunchAuthenticationHandler()
  • Method Details

    • setUserDetailsService

      public void setUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
    • setUserReferenceProvider

      public void setUserReferenceProvider(UserReferenceProvider userReferenceProvider)
      Sets the user reference provider.
      Parameters:
      userReferenceProvider - the user reference provider
    • setSecurityService

      public void setSecurityService(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, org.springframework.security.oauth.provider.ConsumerAuthentication authentication, org.springframework.security.oauth.provider.token.OAuthAccessProviderToken authToken)
      Specified by:
      createAuthentication in interface org.springframework.security.oauth.provider.OAuthAuthenticationHandler
      See Also:
      • OAuthAuthenticationHandler.createAuthentication(javax.servlet.http.HttpServletRequest, org.springframework.security.oauth.provider.ConsumerAuthentication, org.springframework.security.oauth.provider.token.OAuthAccessProviderToken)