Package com.sun.enterprise.iiop.security
Class GSSUPToken
- java.lang.Object
-
- com.sun.enterprise.iiop.security.GSSUPToken
-
public class GSSUPToken extends Object
GSSUPToken Represents the on the wire username/password credential on the client side and the server side.- Author:
- Sekhar Vajjhala, Harpreet Singh
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_REALM_NAME
static String
DELIMITER
static String
DELIMITER_REGEXP
static String
ESCAPE_CHAR
static String
ESCAPE_CHAR_REGEXP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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 interceptorsstatic GSSUPToken
getServerSideInstance(org.omg.CORBA.ORB orb, org.omg.IOP.Codec codec, byte[] authtok)
Creates a GSSUPToken instance on the server side
-
-
-
Field Detail
-
DELIMITER_REGEXP
public static final String DELIMITER_REGEXP
- See Also:
- Constant Field Values
-
ESCAPE_CHAR_REGEXP
public static final String ESCAPE_CHAR_REGEXP
- See Also:
- Constant Field Values
-
ESCAPE_CHAR
public static final String ESCAPE_CHAR
- See Also:
- Constant Field Values
-
DELIMITER
public static final String DELIMITER
- See Also:
- Constant Field Values
-
DEFAULT_REALM_NAME
public static final String DEFAULT_REALM_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-