public final class JaasKrbUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JaasKrbUtil.KrbCallbackHandler |
Modifier and Type | Field and Description |
---|---|
static boolean |
ENABLE_DEBUG |
Modifier and Type | Method and Description |
---|---|
static Subject |
loginUsingKeytab(String principal,
File keytabFile) |
static Subject |
loginUsingPassword(String principal,
String password) |
static Subject |
loginUsingTicketCache(String principal,
File cacheFile) |
static Configuration |
useKeytab(String principal,
File keytabFile) |
static Configuration |
usePassword(String principal) |
static Configuration |
useTicketCache(String principal,
File credentialFile) |
public static final boolean ENABLE_DEBUG
public static Subject loginUsingPassword(String principal, String password) throws LoginException
LoginException
public static Subject loginUsingTicketCache(String principal, File cacheFile) throws LoginException
LoginException
public static Subject loginUsingKeytab(String principal, File keytabFile) throws LoginException
LoginException
public static Configuration usePassword(String principal)
public static Configuration useTicketCache(String principal, File credentialFile)
public static Configuration useKeytab(String principal, File keytabFile)
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.