| java.lang.Object |
| ↳ |
sun.security.mule.krb5.internal.CredentialsUtil |
Class Overview
This class is a utility that contains much of the TGS-Exchange
protocol. It is used by ../Credentials.java for service ticket
acquisition in both the normal and the x-realm case.
Summary
| Fields |
|
private
static
boolean |
DEBUG |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
private
static
boolean
DEBUG
Public Constructors
public
CredentialsUtil
()
Public Methods
public
static
Credentials
acquireServiceCreds
(String service, Credentials ccreds, Config kerberosConfig)
Acquires credentials for a specified service using initial credential. Wh
en the service has a different realm
from the initial credential, we do cross-realm authentication - first, we
use the current credential to get
a cross-realm credential from the local KDC, then use that cross-realm cr
edential to request service credential
from the foreigh KDC.
Parameters
| service
| The name of service principal using format components@real
m |
| ccreds
| Client's initial credential. |
| kerberosConfig
| |
Throws
| Exception
| general exception will be thrown when any error occu
rs. |
| IOException
| |
| KrbException
| |