Packages

c

water.webserver.jetty9

LdapAesEncryptedBindPasswordLoginModule

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()

Type Members

  1. class JAASUserInfo extends AnyRef
    Definition Classes
    AbstractLoginModule
  2. class LDAPUserInfo extends UserInfo
    Definition Classes
    LdapLoginModule

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def abort(): Boolean
    Definition Classes
    LdapLoginModule → AbstractLoginModule → LoginModule
    Annotations
    @throws( ... )
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bindingLogin(arg0: String, arg1: Any): Boolean
    Definition Classes
    LdapLoginModule
    Annotations
    @throws( ... ) @throws( ... )
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def commit(): Boolean
    Definition Classes
    LdapLoginModule → AbstractLoginModule → LoginModule
    Annotations
    @throws( ... )
  9. def configureCallbacks(): Array[Callback]
    Definition Classes
    AbstractLoginModule
  10. def credentialLogin(arg0: Any): Boolean
    Attributes
    protected[spi]
    Definition Classes
    LdapLoginModule
    Annotations
    @throws( ... )
  11. def doRFC2254Encoding(arg0: String): String
    Attributes
    protected[spi]
    Definition Classes
    LdapLoginModule
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def getCallbackHandler(): CallbackHandler
    Definition Classes
    AbstractLoginModule
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getCurrentUser(): JAASUserInfo
    Definition Classes
    AbstractLoginModule
  18. def getEnvironment(): Hashtable[AnyRef, AnyRef]
    Definition Classes
    LdapLoginModule
  19. def getSubject(): Subject
    Definition Classes
    AbstractLoginModule
  20. def getUserInfo(arg0: String): UserInfo
    Definition Classes
    LdapLoginModule → AbstractLoginModule
    Annotations
    @throws( classOf[java.lang.Exception] )
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def initialize(subject: Subject, callbackHandler: CallbackHandler, sharedState: Map[String, _], javaOptions: Map[String, _]): Unit
    Definition Classes
    LdapAesEncryptedBindPasswordLoginModule → LdapLoginModule → AbstractLoginModule → LoginModule
  23. def isAuthenticated(): Boolean
    Definition Classes
    AbstractLoginModule
  24. def isCommitted(): Boolean
    Definition Classes
    AbstractLoginModule
  25. def isIgnored(): Boolean
    Definition Classes
    AbstractLoginModule
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def login(): Boolean
    Definition Classes
    LdapLoginModule → AbstractLoginModule → LoginModule
    Annotations
    @throws( ... )
  28. def logout(): Boolean
    Definition Classes
    AbstractLoginModule → LoginModule
    Annotations
    @throws( ... )
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def setAuthenticated(arg0: Boolean): Unit
    Definition Classes
    AbstractLoginModule
  33. def setCallbackHandler(arg0: CallbackHandler): Unit
    Definition Classes
    AbstractLoginModule
  34. def setCommitted(arg0: Boolean): Unit
    Definition Classes
    AbstractLoginModule
  35. def setCurrentUser(arg0: JAASUserInfo): Unit
    Definition Classes
    AbstractLoginModule
  36. def setSubject(arg0: Subject): Unit
    Definition Classes
    AbstractLoginModule
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from LdapLoginModule

Inherited from AbstractLoginModule

Inherited from LoginModule

Inherited from AnyRef

Inherited from Any

Ungrouped