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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    activate(org.osgi.service.component.ComponentContext cc)
     
    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)
    void
    setSecurityService(org.opencastproject.security.api.SecurityService securityService)
    Sets the security service.
    void
    setUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
     
    void
    setUserReferenceProvider(org.opencastproject.userdirectory.api.UserReferenceProvider userReferenceProvider)
    Sets the user reference provider.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LtiLaunchAuthenticationHandler

      public LtiLaunchAuthenticationHandler()
  • 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, 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)