Class UsernamePasswordServiceLogin
java.lang.Object
org.forgerock.openig.assertion.plugin.kerberos.UsernamePasswordServiceLogin
- All Implemented Interfaces:
ServiceLogin
Provides support for a service login using a username/password.
{
"type": "UsernamePasswordServiceLogin",
"config": {
"username" : expression [REQUIRED - The service username.]
"passwordSecretId" : expression<secret-ref> [REQUIRED - The password reference to use with the
service username for the service login.]
"secretsProvider" : Secrets Provider [REQUIRED - Used to resolve the passwordSecretId key.]
}
}
Example usage:
{
"type": "UsernamePasswordServiceLogin",
"config": {
"username": "igsu",
"passwordSecretId": "igsu.id",
"secretsProvider": "mySecretsProvider"
}
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Creates and initializes aUsernamePasswordServiceLogin
in a heap environment. -
Field Summary
Fields inherited from interface org.forgerock.openig.assertion.plugin.kerberos.ServiceLogin
KRB_LOGIN_MODULE
-
Method Summary
-
Method Details
-
login
Description copied from interface:ServiceLogin
Return aPromise
representing a serviceSubject
that can be used to validate a user's Kerberos token.- Specified by:
login
in interfaceServiceLogin
- Returns:
- a
Promise
representing a serviceSubject
that can be used to validate a user's Kerberos token.
-