Package io.lighty.aaa

Class AAALightyShiroProvider

java.lang.Object
io.lighty.aaa.AAALightyShiroProvider

public final class AAALightyShiroProvider extends Object
  • Method Details

    • newInstance

      public static CompletableFuture<AAALightyShiroProvider> newInstance(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, AAAConfiguration aaaConfig, org.opendaylight.aaa.api.CredentialAuth<org.opendaylight.aaa.api.PasswordCredentials> credentialAuth, LightyServerBuilder server)
    • getInstance

      public static AAALightyShiroProvider getInstance()
    • getDataBroker

      public org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
      Extract the data broker.
      Returns:
      the data broker
    • getCertificateManager

      public org.opendaylight.aaa.cert.api.ICertificateManager getCertificateManager()
      Extract the certificate manager.
      Returns:
      the certificate manager.
    • getShiroConfiguration

      public org.opendaylight.yang.gen.v1.urn.opendaylight.aaa.app.config.rev170619.ShiroConfiguration getShiroConfiguration()
      Extract Shiro related configuration.
      Returns:
      Shiro related configuration.
    • getAaaWebEnvironment

      public org.opendaylight.aaa.shiro.web.env.AAAWebEnvironment getAaaWebEnvironment()
    • getTokenAuthenticators

      public org.opendaylight.aaa.tokenauthrealm.auth.TokenAuthenticators getTokenAuthenticators()
    • getTokenStore

      public org.opendaylight.aaa.datastore.h2.H2TokenStore getTokenStore()
    • getDefaultPasswordHashService

      public org.opendaylight.aaa.impl.password.service.DefaultPasswordHashService getDefaultPasswordHashService()
    • getIdmStore

      public static org.opendaylight.aaa.api.IIDMStore getIdmStore()
      Get IDM data store.
      Returns:
      IIDMStore data store
    • setIdmStore

      public static void setIdmStore(org.opendaylight.aaa.api.IIDMStore store)
      Set IDM data store, only used for test.
      Parameters:
      store - data store
    • close

      public void close()