public class GSSUPToken extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_REALM_NAME |
static String |
DELIMITER |
static String |
DELIMITER_REGEXP |
static String |
ESCAPE_CHAR |
static String |
ESCAPE_CHAR_REGEXP |
Modifier and Type | Method and Description |
---|---|
static GSSUPToken |
getClientSideInstance(ORB orb,
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(ORB orb,
Codec codec,
byte[] authtok)
Creates a GSSUPToken instance on the server side
|
public static final String DELIMITER_REGEXP
public static final String ESCAPE_CHAR_REGEXP
public static final String ESCAPE_CHAR
public static final String DELIMITER
public static final String DEFAULT_REALM_NAME
public static GSSUPToken getClientSideInstance(ORB orb, Codec codec, PasswordCredential pwdcred, com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech)
orb
- the ORBcodec
- the codec for translationpwdcred
- the Password credential, populated with username/password and the realm namepublic static GSSUPToken getServerSideInstance(ORB orb, Codec codec, byte[] authtok) throws SecurityMechanismException
orb
- the orbcodec
- the codecauthok
- the authtoken received on the wire.SecurityMechanismException
- if a name/value pair is not found in the authtokCopyright © 2019. All rights reserved.