|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of KrbException in sun.security.mule.jgss.krb5 |
|---|
| Methods in sun.security.mule.jgss.krb5 that throw KrbException | |
|---|---|
static KerberosTicket |
Krb5Util.getTicketFromSubjectAndTgs(int caller,
String clientPrincipal,
String serverPrincipal,
String tgsPrincipal,
AccessControlContext acc,
Config kerberosConfig)
Retrieve the service ticket for serverPrincipal from caller's Subject or from Subject obtained by logging in, or if not found, via the Ticket Granting Service using the TGT obtained from the Subject. |
static Credentials |
Krb5Util.ticketToCreds(KerberosTicket kerbTicket,
Config kerberosConfig)
|
| Uses of KrbException in sun.security.mule.krb5 |
|---|
| Subclasses of KrbException in sun.security.mule.krb5 | |
|---|---|
class |
Asn1Exception
|
class |
KrbCryptoException
KrbCryptoExceptoin is a wrapper exception for exceptions thrown by JCE. |
class |
RealmException
|
| Methods in sun.security.mule.krb5 that throw KrbException | |
|---|---|
static EncryptionKey[] |
EncryptionKey.acquireSecretKeys(char[] password,
String salt,
boolean pa_exists,
int pa_etype,
byte[] pa_s2kparams,
Config kerberosConfig)
Generates a list of keys using the given principal, password, and the pre-authentication values. |
static EncryptionKey[] |
EncryptionKey.acquireSecretKeys(char[] password,
String salt,
Config kerberosConfig)
Generate a list of keys using the given principal and password. |
static EncryptionKey[] |
EncryptionKey.acquireSecretKeys(PrincipalName princ,
String keytab,
Config kerberosConfig)
Obtains all versions of the secret key of the principal from a keytab. |
static Credentials |
Credentials.acquireServiceCreds(String service,
Credentials ccreds,
Config kerberosConfig)
Acquires credentials for a specified service using initial credential. |
static Credentials |
Credentials.acquireTGT(PrincipalName princ,
EncryptionKey[] secretKeys,
char[] password,
Config kerberosConfig)
Returns a TGT for the given client principal via an AS-Exchange. |
static Credentials |
Credentials.acquireTGTFromCache(PrincipalName princ,
String ticketCache)
Returns a TGT for the given client principal from a ticket cache. |
static EncryptionKey |
EncryptionKey.findKey(int etype,
EncryptionKey[] keys)
|
boolean |
KrbApReq.getMutualAuthRequired()
Returns true if mutual authentication is required and hence an AP-REP will need to be generated. |
static String[] |
Realm.getRealmsList(String cRealm,
String sRealm,
Config kerberosConfig)
Returns an array of realms that may be traversed to obtain a TGT from the initiating realm cRealm to the target realm sRealm. |
KrbTgsRep |
KrbTgsReq.getReply()
|
KrbAsRep |
KrbAsReq.getReply(char[] password)
Returns an AS-REP message corresponding to the AS-REQ that was sent. |
KrbAsRep |
KrbAsReq.getReply(EncryptionKey[] keys)
Returns an AS-REP message corresponding to the AS-REQ that was sent. |
static void |
Config.refresh()
Refresh and reload the Configuration. |
Credentials |
Credentials.renew(Config kerberosConfig)
|
String |
KrbTgsReq.send()
Sends a TGS request to the realm of the target. |
String |
KrbAsReq.send()
Sends an AS request to the realm of the client. |
String |
KrbKdcReq.send(String realm,
boolean useTCP,
Config kerberosConfig)
|
String |
KrbKdcReq.send(String realm,
Config kerberosConfig)
Sends the provided data to the KDC of the specified realm. |
void |
KrbKdcReq.send(String realm,
String tempKdc,
boolean useTCP,
Config kerberosConfig)
|
Credentials |
KrbTgsReq.sendAndGetCreds()
Sends the request, waits for a reply, and returns the Credentials. |
| Constructors in sun.security.mule.krb5 that throw KrbException | |
|---|---|
Config()
Generate a config using the traditional JAAS way. |
|
Config(String realm,
String kdcLocation)
Generate a default config file using only as dinamic parameters the realm and the kdcLocation |
|
Config(Vector<String> configFile)
Generate a config using the information passed as parameter and not the system properties |
|
Credentials(byte[] encoding,
String client,
String server,
byte[] keyBytes,
int keyType,
boolean[] flags,
Date authTime,
Date startTime,
Date endTime,
Date renewTill,
InetAddress[] cAddrs,
Config kerberosConfig)
|
|
KrbApRep(byte[] message,
Credentials tgtCreds,
KrbApReq outgoingReq,
Config kerberosConfig)
Constructs a KRB-AP-REQ from the bytes received from a service. |
|
KrbApRep(KrbApReq incomingReq,
boolean useSeqNumber,
boolean useSubKey,
Config kerberosConfig)
Constructs a KRB-AP-REP to send to a client. |
|
KrbApReq(byte[] message,
EncryptionKey[] keys,
InetAddress initiator,
Config kerberosConfig)
Contructs a AP-REQ message from the bytes received from the peer. |
|
KrbApReq(Credentials tgsCred,
boolean mutualRequired,
boolean useSubKey,
boolean useSeqNumber,
Checksum cksum,
Config kerberosConfig)
Contructs a AP-REQ message to send to the peer. |
|
KrbAsReq(char[] password,
boolean pa_exists,
int etype,
byte[] salt,
byte[] s2kparams,
KDCOptions options,
PrincipalName cname,
PrincipalName sname,
KerberosTime from,
KerberosTime till,
KerberosTime rtime,
int[] eTypes,
HostAddresses addresses,
Ticket[] additionalTickets,
Config kerberosConfig)
|
|
KrbAsReq(char[] password,
KDCOptions options,
PrincipalName cname,
PrincipalName sname,
KerberosTime from,
KerberosTime till,
KerberosTime rtime,
int[] eTypes,
HostAddresses addresses,
Ticket[] additionalTickets,
Config kerberosConfig)
|
|
KrbAsReq(EncryptionKey[] keys,
boolean pa_exists,
int etype,
byte[] salt,
byte[] s2kparams,
KDCOptions options,
PrincipalName cname,
PrincipalName sname,
KerberosTime from,
KerberosTime till,
KerberosTime rtime,
int[] eTypes,
HostAddresses addresses,
Ticket[] additionalTickets,
Config kerberosConfig)
|
|
KrbAsReq(EncryptionKey[] keys,
KDCOptions options,
PrincipalName cname,
PrincipalName sname,
KerberosTime from,
KerberosTime till,
KerberosTime rtime,
int[] eTypes,
HostAddresses addresses,
Ticket[] additionalTickets,
Config kerberosConfig)
|
|
KrbCred(byte[] asn1Message,
EncryptionKey key,
Config kerberosConfig)
|
|
KrbCred(Credentials tgt,
Credentials serviceTicket,
EncryptionKey key,
Config kerberosConfig)
|
|
KrbTgsReq(Credentials asCreds,
PrincipalName sname,
Config kerberosConfig)
|
|
PrincipalName(String primary,
String instance,
String realm,
int type)
Creates a KRB_NT_SRV_INST name from the supplied name components and realm. |
|
ServiceName(String service,
String instance,
String realm)
|
|
| Uses of KrbException in sun.security.mule.krb5.internal |
|---|
| Subclasses of KrbException in sun.security.mule.krb5.internal | |
|---|---|
class |
KdcErrException
|
class |
KrbApErrException
|
class |
KrbErrException
|
| Methods in sun.security.mule.krb5.internal that throw KrbException | |
|---|---|
static Credentials |
CredentialsUtil.acquireServiceCreds(String service,
Credentials ccreds,
Config kerberosConfig)
Acquires credentials for a specified service using initial credential. |
protected void |
KDCReq.init(sun.security.util.DerValue encoding,
int req_type)
Initializes a KDCReq object from a DerValue. |
| Constructors in sun.security.mule.krb5.internal that throw KrbException | |
|---|---|
ASReq(byte[] data)
|
|
ASReq(sun.security.util.DerValue encoding)
|
|
EncASRepPart(byte[] data,
Config kerberosConfig)
|
|
EncASRepPart(sun.security.util.DerValue encoding,
Config kerberosConfig)
|
|
EncTGSRepPart(byte[] data,
Config kerberosConfig)
|
|
EncTGSRepPart(sun.security.util.DerValue encoding,
Config kerberosConfig)
|
|
EncTicketPart(byte[] data,
Config kerberosConfig)
|
|
EncTicketPart(sun.security.util.DerValue encoding,
Config kerberosConfig)
|
|
HostAddresses(PrincipalName serverPrincipal)
|
|
KDCReq(byte[] data,
int req_type)
|
|
KDCReq(sun.security.util.DerValue der,
int req_type)
Creates an KDCReq object from a DerValue object and asn1 type. |
|
KDCReqBody(sun.security.util.DerValue encoding,
int msgType)
Constructs a KDCReqBody object. |
|
TGSReq(byte[] data)
|
|
TGSReq(sun.security.util.DerValue encoding)
|
|
| Uses of KrbException in sun.security.mule.krb5.internal.ccache |
|---|
| Methods in sun.security.mule.krb5.internal.ccache that throw KrbException | |
|---|---|
abstract void |
MemoryCredentialsCache.save()
|
abstract void |
CredentialsCache.save()
|
| Uses of KrbException in sun.security.mule.krb5.internal.crypto |
|---|
| Methods in sun.security.mule.krb5.internal.crypto that throw KrbException | |
|---|---|
static int[] |
EType.getDefaults(String configName,
EncryptionKey[] keys,
Config kerberosConfig)
Retrieve the default etypes from the configuration file for those etypes for which there are corresponding keys. |
| Uses of KrbException in sun.security.mule.krb5.internal.ktab |
|---|
| Methods in sun.security.mule.krb5.internal.ktab that throw KrbException | |
|---|---|
void |
KeyTab.addEntry(PrincipalName service,
char[] psswd,
Config kerberosConfig)
Adds a new entry in the key table. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||