Class

water.webserver.jetty9

LdapAesEncryptedBindPasswordLoginModule

Related Doc: package jetty9

Permalink

class LdapAesEncryptedBindPasswordLoginModule extends LdapLoginModule

A custom Jetty login module which takes AES encrypted password from the config file, and decrypts it using AES CBC Key & IV provided through Spark config. Created for a specific use case where the end user doesn't have access to Spark Session, but has access to LDAP config file. When no IV is provided an all zero IV is used.

Example password encryption command: openssl aes-256-cbc -in file.in -out file.out -iv 064df9633d9f5dd0b5614843f6b4b059 -K b38b730d4cc721156e3760d1d58546ce697adc939188e4c6a80f0e24e032b9b7 -base64 -nosalt

Linear Supertypes
LdapLoginModule, AbstractLoginModule, LoginModule, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LdapAesEncryptedBindPasswordLoginModule
  2. LdapLoginModule
  3. AbstractLoginModule
  4. LoginModule
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LdapAesEncryptedBindPasswordLoginModule()

    Permalink

Type Members

  1. class JAASUserInfo extends AnyRef

    Permalink
    Definition Classes
    AbstractLoginModule
  2. class LDAPUserInfo extends UserInfo

    Permalink
    Definition Classes
    LdapLoginModule

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def abort(): Boolean

    Permalink
    Definition Classes
    LdapLoginModule → AbstractLoginModule → LoginModule
    Annotations
    @throws( ... )
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bindingLogin(arg0: String, arg1: Any): Boolean

    Permalink
    Definition Classes
    LdapLoginModule
    Annotations
    @throws( ... ) @throws( ... )
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def commit(): Boolean

    Permalink
    Definition Classes
    LdapLoginModule → AbstractLoginModule → LoginModule
    Annotations
    @throws( ... )
  9. def configureCallbacks(): Array[Callback]

    Permalink
    Definition Classes
    AbstractLoginModule
  10. def credentialLogin(arg0: Any): Boolean

    Permalink
    Attributes
    protected[org.eclipse.jetty.jaas.spi]
    Definition Classes
    LdapLoginModule
    Annotations
    @throws( ... )
  11. def doRFC2254Encoding(arg0: String): String

    Permalink
    Attributes
    protected[org.eclipse.jetty.jaas.spi]
    Definition Classes
    LdapLoginModule
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def getCallbackHandler(): CallbackHandler

    Permalink
    Definition Classes
    AbstractLoginModule
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getCurrentUser(): JAASUserInfo

    Permalink
    Definition Classes
    AbstractLoginModule
  18. def getEnvironment(): Hashtable[AnyRef, AnyRef]

    Permalink
    Definition Classes
    LdapLoginModule
  19. def getSubject(): Subject

    Permalink
    Definition Classes
    AbstractLoginModule
  20. def getUserInfo(arg0: String): UserInfo

    Permalink
    Definition Classes
    LdapLoginModule → AbstractLoginModule
    Annotations
    @throws( classOf[java.lang.Exception] )
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def initialize(subject: Subject, callbackHandler: CallbackHandler, sharedState: Map[String, _], javaOptions: Map[String, _]): Unit

    Permalink
    Definition Classes
    LdapAesEncryptedBindPasswordLoginModule → LdapLoginModule → AbstractLoginModule → LoginModule
  23. def isAuthenticated(): Boolean

    Permalink
    Definition Classes
    AbstractLoginModule
  24. def isCommitted(): Boolean

    Permalink
    Definition Classes
    AbstractLoginModule
  25. def isIgnored(): Boolean

    Permalink
    Definition Classes
    AbstractLoginModule
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def login(): Boolean

    Permalink
    Definition Classes
    LdapLoginModule → AbstractLoginModule → LoginModule
    Annotations
    @throws( ... )
  28. def logout(): Boolean

    Permalink
    Definition Classes
    AbstractLoginModule → LoginModule
    Annotations
    @throws( ... )
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def setAuthenticated(arg0: Boolean): Unit

    Permalink
    Definition Classes
    AbstractLoginModule
  33. def setCallbackHandler(arg0: CallbackHandler): Unit

    Permalink
    Definition Classes
    AbstractLoginModule
  34. def setCommitted(arg0: Boolean): Unit

    Permalink
    Definition Classes
    AbstractLoginModule
  35. def setCurrentUser(arg0: JAASUserInfo): Unit

    Permalink
    Definition Classes
    AbstractLoginModule
  36. def setSubject(arg0: Subject): Unit

    Permalink
    Definition Classes
    AbstractLoginModule
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LdapLoginModule

Inherited from AbstractLoginModule

Inherited from LoginModule

Inherited from AnyRef

Inherited from Any

Ungrouped