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
LoginContextkrb5ModuleEntryName - the relevant com.sun.security.auth.module.Krb5LoginModule entry namecallbackHandler - a callback handlerLoginContextLoginException - see LoginContext(String, CallbackHandler)public LoginContext createLoginContext(String krb5ModuleEntryName) throws LoginException
LoginContextkrb5ModuleEntryName - the relevant com.sun.security.auth.module.Krb5LoginModule entry nameLoginContextLoginException - see LoginContext(String, CallbackHandler)Copyright © 2022 Apache Software Foundation. All rights reserved.