public class SampleCredentialsCacheResource
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
SAMPLE_CACHE_CONTENT
klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: apacheds@SH.INTEL.COM
Valid starting Expires Service principal
09/06/13 01:54:10 09/06/13 11:54:10 krbtgt/SH.INTEL.COM@SH.INTEL.COM
renew until 09/07/13 01:54:07
09/06/13 01:54:11 09/06/13 11:54:10 host/hadoop-nn.sh.intel.com@SH.INTEL.COM
renew until 09/07/13 01:54:07
|
private static java.lang.String |
SAMPLE_PRINCIPAL |
private static java.lang.String |
SAMPLE_REALM |
private static java.lang.String[] |
SAMPLE_SERVERS |
| Constructor and Description |
|---|
SampleCredentialsCacheResource() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getCacheContent() |
static java.lang.String |
getSamplePrincipal()
Get the primary principal name contained in the sample cache
|
static java.lang.String |
getSampleRealm()
Get the realm contained in the sample cache
|
static java.lang.String[] |
getSampleServers()
Get the servers in the tickets contained in the sample cache
|
static int |
getSampleTicketsCount()
Get the tickets count in the sample cache
|
private static final java.lang.String SAMPLE_CACHE_CONTENT
private static final java.lang.String SAMPLE_PRINCIPAL
private static final java.lang.String SAMPLE_REALM
private static final java.lang.String[] SAMPLE_SERVERS
public static byte[] getCacheContent()
public static java.lang.String getSamplePrincipal()
public static java.lang.String getSampleRealm()
public static java.lang.String[] getSampleServers()
public static int getSampleTicketsCount()