public class GssUpContext extends Object implements ISASContext
| Modifier and Type | Field and Description |
|---|---|
protected org.omg.GSSUP.InitialContextToken |
initialContextToken |
| Constructor and Description |
|---|
GssUpContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration configuration) |
byte[] |
createClientContext(ORB orb,
Codec codec,
org.omg.CSIIOP.CompoundSecMechList csmList) |
static org.omg.GSSUP.InitialContextToken |
decode(ORB orb,
Codec codec,
byte[] gssToken) |
static byte[] |
encode(ORB orb,
Codec codec,
String username,
char[] password,
String target_name) |
static byte[] |
encode(ORB orb,
Codec codec,
String username,
String password,
byte[] target_name) |
String |
getClientPrincipal() |
String |
getMechOID() |
String |
getValidatedPrincipal() |
void |
initClient() |
void |
initTarget() |
static void |
setUsernamePassword(String username,
String password) |
boolean |
validateContext(ORB orb,
Codec codec,
byte[] contextToken) |
public void configure(Configuration configuration) throws ConfigurationException
configure in interface ISASContextConfigurationExceptionpublic String getMechOID()
getMechOID in interface ISASContextpublic byte[] createClientContext(ORB orb, Codec codec, org.omg.CSIIOP.CompoundSecMechList csmList)
createClientContext in interface ISASContextpublic String getClientPrincipal()
getClientPrincipal in interface ISASContextpublic boolean validateContext(ORB orb, Codec codec, byte[] contextToken)
validateContext in interface ISASContextpublic String getValidatedPrincipal()
getValidatedPrincipal in interface ISASContextpublic void initClient()
initClient in interface ISASContextpublic void initTarget()
initTarget in interface ISASContextpublic static byte[] encode(ORB orb, Codec codec, String username, String password, byte[] target_name)
public static byte[] encode(ORB orb, Codec codec, String username, char[] password, String target_name)
Copyright © 2017 JacORB. All rights reserved.