Class DsfOpenIdConfiguration

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.security.openid.OpenIdConfiguration
dev.dsf.common.auth.DsfOpenIdConfiguration
All Implemented Interfaces:
org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle

public class DsfOpenIdConfiguration extends org.eclipse.jetty.security.openid.OpenIdConfiguration
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

    org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

    org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

    org.eclipse.jetty.util.component.LifeCycle.Listener
  • Field Summary

    Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    FAILED, STARTED, STARTING, STOPPED, STOPPING

    Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

    KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    DsfOpenIdConfiguration(String issuer, String clientId, String clientSecret, org.eclipse.jetty.client.HttpClient httpClient, boolean backChannelLogoutEnabled, boolean bearerTokenEnabled)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.auth0.jwt.interfaces.RSAKeyProvider
     
    boolean
     
    protected void
    processMetadata(Map<String,Object> discoveryDocument)
     

    Methods inherited from class org.eclipse.jetty.security.openid.OpenIdConfiguration

    addScopes, doStart, fetchOpenIdConnectMetadata, getAuthEndpoint, getAuthMethod, getClientId, getClientSecret, getEndSessionEndpoint, getHttpClient, getIssuer, getScopes, getTokenEndpoint, isAuthenticateNewUsers, isLogoutWhenIdTokenIsExpired, setAuthenticateNewUsers, setLogoutWhenIdTokenIsExpired, toString

    Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

    addBean, addBean, addEventListener, addManaged, contains, destroy, doStop, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeans

    Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.component.Container

    getCachedBeans, getEventListeners

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

    dumpSelf

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    isDumpable
  • Constructor Details

    • DsfOpenIdConfiguration

      public DsfOpenIdConfiguration(String issuer, String clientId, String clientSecret, org.eclipse.jetty.client.HttpClient httpClient, boolean backChannelLogoutEnabled, boolean bearerTokenEnabled)
  • Method Details

    • processMetadata

      protected void processMetadata(Map<String,Object> discoveryDocument)
      Overrides:
      processMetadata in class org.eclipse.jetty.security.openid.OpenIdConfiguration
    • isBackChannelLogoutEnabled

      public boolean isBackChannelLogoutEnabled()
    • getRsaKeyProvider

      public com.auth0.jwt.interfaces.RSAKeyProvider getRsaKeyProvider()
      Returns:
      null if isBackChannelLogoutEnabled() returns false, or this (LifeCycle) object was not initialized
      See Also:
      • AbstractLifeCycle.start()