| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Debug | |
| public static final Oid | |
| public static final Oid | |
| public static final Oid | |
| public static final Oid | |
| public static final Oid |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Oid | |
| pack-priv static void | |
| public static String | |
| public static Subject | getSubject(GSSName name, GSSCredential creds)
Note The current impl only works with Sun's impl of GSSName and GSSCredential since it depends on package private APIs. |
| public static boolean | |
| public static boolean | |
| public static Subject | |
| private static void | populateCredentials(Set<Object> credentials, Set<?> gssCredentials)
Populates the set credentials with elements from gssCredentials. |
| public static <T extends GSSCredentialSpi> Vector | searchSubject(final GSSNameSpi name, final Oid mech, final boolean initiate, final Class<? extends T> credCls)
Searches the private credentials of current Subject with the specified criteria and returns the matching GSSCredentialSpi object out of Sun's impl of GSSCredential. |
| public static boolean | useMSInterop()
Determines the SPNEGO interoperability mode with Microsoft; by default it is set to true. |
| public static boolean | useSubjectCredsOnly(GSSCaller caller)
Determines if the application doesn't mind if the mechanism obtains the required credentials from outside the current Subject. |
| DEBUG | back to summary |
|---|---|
| pack-priv static final Debug DEBUG | |
| GSS_KRB5_MECH_OID | back to summary |
|---|---|
| public static final Oid GSS_KRB5_MECH_OID | |
| GSS_KRB5_MECH_OID2 | back to summary |
|---|---|
| public static final Oid GSS_KRB5_MECH_OID2 | |
| GSS_KRB5_MECH_OID_MS | back to summary |
|---|---|
| public static final Oid GSS_KRB5_MECH_OID_MS | |
| GSS_SPNEGO_MECH_OID | back to summary |
|---|---|
| public static final Oid GSS_SPNEGO_MECH_OID | |
| NT_GSS_KRB5_PRINCIPAL | back to summary |
|---|---|
| public static final Oid NT_GSS_KRB5_PRINCIPAL | |
| GSSUtil | back to summary |
|---|---|
| public GSSUtil() | |
| createOid | back to summary |
|---|---|
| public static Oid createOid(String oidStr) | |
| debug | back to summary |
|---|---|
| pack-priv static void debug(String message) | |
| getMechStr | back to summary |
|---|---|
| public static String getMechStr(Oid oid) | |
| getSubject | back to summary |
|---|---|
| public static Subject getSubject(GSSName name, GSSCredential creds) Note The current impl only works with Sun's impl of GSSName and GSSCredential since it depends on package private APIs. | |
| isKerberosMech | back to summary |
|---|---|
| public static boolean isKerberosMech(Oid oid) | |
| isSpNegoMech | back to summary |
|---|---|
| public static boolean isSpNegoMech(Oid oid) | |
| login | back to summary |
|---|---|
| public static Subject login(GSSCaller caller, Oid mech) throws LoginException Authenticate using the login module from the specified configuration entry. | |
| populateCredentials | back to summary |
|---|---|
| private static void populateCredentials(Set<Object> credentials, Set<?> gssCredentials) Populates the set credentials with elements from gssCredentials. At the same time, it converts any subclasses of KerberosTicket into KerberosTicket instances and any subclasses of KerberosKey into KerberosKey instances. (It is not desirable to expose the customer to sun.security.jgss.krb5.Krb5InitCredential which extends KerberosTicket and sun.security.jgss.krb5.Kbr5AcceptCredential which extends KerberosKey.) | |
| searchSubject | back to summary |
|---|---|
| public static <T extends GSSCredentialSpi> Vector Searches the private credentials of current Subject with the specified criteria and returns the matching GSSCredentialSpi object out of Sun's impl of GSSCredential. Returns null if no Subject present or a Vector which contains 0 or more matching GSSCredentialSpi objects. | |
| useMSInterop | back to summary |
|---|---|
| public static boolean useMSInterop() Determines the SPNEGO interoperability mode with Microsoft; by default it is set to true. To disable it, the application indicates this by explicitly setting the system property sun.security.spnego.interop to false. | |
| useSubjectCredsOnly | back to summary |
|---|---|
| public static boolean useSubjectCredsOnly(GSSCaller caller) Determines if the application doesn't mind if the mechanism obtains the required credentials from outside the current Subject. Our Kerberos v5 mechanism would do a JAAS login on behalf of the application if this were the case. The application indicates this by explicitly setting the system property javax.security.auth.useSubjectCredsOnly to false. | |