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
Ordering
- Alphabetic
- By Inheritance
Inherited
- LdapAesEncryptedBindPasswordLoginModule
- LdapLoginModule
- AbstractLoginModule
- LoginModule
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new LdapAesEncryptedBindPasswordLoginModule()
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
abort(): Boolean
- Definition Classes
- LdapLoginModule → AbstractLoginModule → LoginModule
- Annotations
- @throws( ... )
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bindingLogin(arg0: String, arg1: Any): Boolean
- Definition Classes
- LdapLoginModule
- Annotations
- @throws( ... ) @throws( ... )
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
commit(): Boolean
- Definition Classes
- LdapLoginModule → AbstractLoginModule → LoginModule
- Annotations
- @throws( ... )
-
def
configureCallbacks(): Array[Callback]
- Definition Classes
- AbstractLoginModule
-
def
credentialLogin(arg0: Any): Boolean
- Attributes
- protected[spi]
- Definition Classes
- LdapLoginModule
- Annotations
- @throws( ... )
-
def
doRFC2254Encoding(arg0: String): String
- Attributes
- protected[spi]
- Definition Classes
- LdapLoginModule
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getCallbackHandler(): CallbackHandler
- Definition Classes
- AbstractLoginModule
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getCurrentUser(): JAASUserInfo
- Definition Classes
- AbstractLoginModule
-
def
getEnvironment(): Hashtable[AnyRef, AnyRef]
- Definition Classes
- LdapLoginModule
-
def
getSubject(): Subject
- Definition Classes
- AbstractLoginModule
-
def
getUserInfo(arg0: String): UserInfo
- Definition Classes
- LdapLoginModule → AbstractLoginModule
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initialize(subject: Subject, callbackHandler: CallbackHandler, sharedState: Map[String, _], javaOptions: Map[String, _]): Unit
- Definition Classes
- LdapAesEncryptedBindPasswordLoginModule → LdapLoginModule → AbstractLoginModule → LoginModule
-
def
isAuthenticated(): Boolean
- Definition Classes
- AbstractLoginModule
-
def
isCommitted(): Boolean
- Definition Classes
- AbstractLoginModule
-
def
isIgnored(): Boolean
- Definition Classes
- AbstractLoginModule
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
login(): Boolean
- Definition Classes
- LdapLoginModule → AbstractLoginModule → LoginModule
- Annotations
- @throws( ... )
-
def
logout(): Boolean
- Definition Classes
- AbstractLoginModule → LoginModule
- Annotations
- @throws( ... )
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setAuthenticated(arg0: Boolean): Unit
- Definition Classes
- AbstractLoginModule
-
def
setCallbackHandler(arg0: CallbackHandler): Unit
- Definition Classes
- AbstractLoginModule
-
def
setCommitted(arg0: Boolean): Unit
- Definition Classes
- AbstractLoginModule
-
def
setCurrentUser(arg0: JAASUserInfo): Unit
- Definition Classes
- AbstractLoginModule
-
def
setSubject(arg0: Subject): Unit
- Definition Classes
- AbstractLoginModule
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()