com.sun.enterprise.iiop.security
Class GSSUPToken
java.lang.Object
com.sun.enterprise.iiop.security.GSSUPToken
public class GSSUPToken
- extends java.lang.Object
GSSUPToken Represents the on the wire username/password credential on the
client side and the server side.
- Author:
- Sekhar Vajjhala, Harpreet Singh
|
Method Summary |
static GSSUPToken |
getClientSideInstance(org.omg.CORBA.ORB orb,
org.omg.IOP.Codec codec,
PasswordCredential pwdcred,
com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech)
Constructs mechanism token from a password credential, called from
the client side interceptors |
static GSSUPToken |
getServerSideInstance(org.omg.CORBA.ORB orb,
org.omg.IOP.Codec codec,
byte[] authtok)
Creates a GSSUPToken instance on the server side |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELIMITER_REGEXP
public static final java.lang.String DELIMITER_REGEXP
- See Also:
- Constant Field Values
ESCAPE_CHAR_REGEXP
public static final java.lang.String ESCAPE_CHAR_REGEXP
- See Also:
- Constant Field Values
ESCAPE_CHAR
public static final java.lang.String ESCAPE_CHAR
- See Also:
- Constant Field Values
DELIMITER
public static final java.lang.String DELIMITER
- See Also:
- Constant Field Values
DEFAULT_REALM_NAME
public static final java.lang.String DEFAULT_REALM_NAME
- See Also:
- Constant Field Values
getClientSideInstance
public static GSSUPToken getClientSideInstance(org.omg.CORBA.ORB orb,
org.omg.IOP.Codec codec,
PasswordCredential pwdcred,
com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech)
- Constructs mechanism token from a password credential, called from
the client side interceptors
- Parameters:
orb - the ORBcodec - the codec for translationpwdcred - the Password credential, populated with username/password
and the realm name
- Returns:
- GSSUPToken instance of the GSSUPToken class.
- Since:
- 1.4
getServerSideInstance
public static GSSUPToken getServerSideInstance(org.omg.CORBA.ORB orb,
org.omg.IOP.Codec codec,
byte[] authtok)
throws SecurityMechanismException
- Creates a GSSUPToken instance on the server side
- Parameters:
orb - the orbcodec - the codecauthok - the authtoken received on the wire.
- Throws:
SecurityMechanismException - if a name/value pair is not found in
the authtok- Since:
- 1.4
Copyright © 2012 GlassFish Community. All Rights Reserved.