| java.lang.Object sun.security.jgss.GSSUtil
GSSUtil | public class GSSUtil (Code) | | The GSSUtilImplementation that knows how to work with the internals of
the GSS-API.
|
Method Summary | |
public static Oid | createOid(String oidStr) | static void | debug(String message) | public static String | getMechStr(Oid oid) | 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 | isKerberosMech(Oid oid) | public static boolean | isSpNegoMech(Oid oid) | public static Subject | login(int caller, Oid mech) Authenticate using the login module from the specified
configuration entry. | public static Vector | searchSubject(GSSNameSpi name, Oid mech, boolean initiate, Class 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() Determines if the application doesn't mind if the mechanism obtains
the required credentials from outside of the current Subject. |
CALLER_ACCEPT | final public static int CALLER_ACCEPT(Code) | | |
CALLER_HTTP_NEGOTIATE | final public static int CALLER_HTTP_NEGOTIATE(Code) | | |
CALLER_INITIATE | final public static int CALLER_INITIATE(Code) | | |
CALLER_SSL_CLIENT | final public static int CALLER_SSL_CLIENT(Code) | | |
CALLER_SSL_SERVER | final public static int CALLER_SSL_SERVER(Code) | | |
CALLER_UNKNOWN | final public static int CALLER_UNKNOWN(Code) | | |
DEBUG | final static boolean DEBUG(Code) | | |
GSS_KRB5_MECH_OID | final public static Oid GSS_KRB5_MECH_OID(Code) | | |
GSS_KRB5_MECH_OID2 | final public static Oid GSS_KRB5_MECH_OID2(Code) | | |
GSS_SPNEGO_MECH_OID | final public static Oid GSS_SPNEGO_MECH_OID(Code) | | |
NT_GSS_KRB5_PRINCIPAL | final public static Oid NT_GSS_KRB5_PRINCIPAL(Code) | | |
NT_HOSTBASED_SERVICE2 | final public static Oid NT_HOSTBASED_SERVICE2(Code) | | |
getSubject | public static Subject getSubject(GSSName name, GSSCredential creds)(Code) | | Note: The current impl only works with Sun's impl of
GSSName and GSSCredential since it depends on package
private APIs.
|
isKerberosMech | public static boolean isKerberosMech(Oid oid)(Code) | | |
isSpNegoMech | public static boolean isSpNegoMech(Oid oid)(Code) | | |
login | public static Subject login(int caller, Oid mech) throws LoginException(Code) | | Authenticate using the login module from the specified
configuration entry.
Parameters: caller - the caller of JAAS Login Parameters: mech - the mech to be used the authenticated subject |
searchSubject | public static Vector searchSubject(GSSNameSpi name, Oid mech, boolean initiate, Class credCls)(Code) | | 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 | public static boolean useMSInterop()(Code) | | 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 | public static boolean useSubjectCredsOnly()(Code) | | Determines if the application doesn't mind if the mechanism obtains
the required credentials from outside of 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.
|
|
|