public class TokenJaasKrbUtil extends Object
| Constructor and Description |
|---|
TokenJaasKrbUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Subject |
loginUsingToken(String principal,
File tokenCache,
File armorCache,
File ccache,
File signKeyFile)
Login using token cache.
|
static Subject |
loginUsingToken(String principal,
String tokenStr,
File armorCache,
File ccache,
File signKeyFile)
Login using token string.
|
public static Subject loginUsingToken(String principal, File tokenCache, File armorCache, File ccache, File signKeyFile) throws LoginException
principal - The client principal nametokenCache - the token cache for loginarmorCache - the armor cache for fast preauthccache - The file to store the tgt ticketLoginException - epublic static Subject loginUsingToken(String principal, String tokenStr, File armorCache, File ccache, File signKeyFile) throws LoginException
principal - The client principal nametokenStr - the token string for loginarmorCache - the armor cache for fast preauthccache - The file to store the tgt ticketLoginException - eCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.