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 ISASContext
ConfigurationException
public String getMechOID()
getMechOID
in interface ISASContext
public byte[] createClientContext(ORB orb, Codec codec, org.omg.CSIIOP.CompoundSecMechList csmList)
createClientContext
in interface ISASContext
public String getClientPrincipal()
getClientPrincipal
in interface ISASContext
public boolean validateContext(ORB orb, Codec codec, byte[] contextToken)
validateContext
in interface ISASContext
public String getValidatedPrincipal()
getValidatedPrincipal
in interface ISASContext
public void initClient()
initClient
in interface ISASContext
public void initTarget()
initTarget
in interface ISASContext
public 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.