public class LoginContextHelper extends Object
LoginContext
instances.Constructor and Description |
---|
LoginContextHelper() |
Modifier and Type | Method and Description |
---|---|
LoginContext |
createLoginContext(String krb5ModuleEntryName)
Create a new
LoginContext |
LoginContext |
createLoginContext(String krb5ModuleEntryName,
CallbackHandler callbackHandler)
Create a new
LoginContext |
public LoginContext createLoginContext(String krb5ModuleEntryName, CallbackHandler callbackHandler) throws LoginException
LoginContext
krb5ModuleEntryName
- the relevant com.sun.security.auth.module.Krb5LoginModule entry namecallbackHandler
- a callback handlerLoginContext
LoginException
- see LoginContext(String, CallbackHandler)
public LoginContext createLoginContext(String krb5ModuleEntryName) throws LoginException
LoginContext
krb5ModuleEntryName
- the relevant com.sun.security.auth.module.Krb5LoginModule entry nameLoginContext
LoginException
- see LoginContext(String, CallbackHandler)
Copyright © 2022 Apache Software Foundation. All rights reserved.