org.picketlink.identity.federation.core.wstrust
Class STSClientConfig
java.lang.Object
org.picketlink.identity.federation.core.wstrust.STSClientConfig
public class STSClientConfig
- extends Object
STSClientConfig has the ability to either programatically construct the configuration needed for STSClient
or parse a
file containing the configuration parameters.
Configure programatically
Example:
Builder builder = new STSClientConfig.Builder();
builder.serviceName("PicketLinkSTS");
builder.portName("PicketLinkSTSPort");
...
STSClientConfig config = builder.build();
Configure from file
Example:
{
@code
STSClientConfig config = new STSClientConfig.Builder(configFile).build();
}
- Author:
- Daniel Bevenius, Anil Saldhana
DEFAULT_CONFIG_FILE
public static final String DEFAULT_CONFIG_FILE
- See Also:
- Constant Field Values
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
PORT_NAME
public static final String PORT_NAME
- See Also:
- Constant Field Values
ENDPOINT_ADDRESS
public static final String ENDPOINT_ADDRESS
- See Also:
- Constant Field Values
USERNAME
public static final String USERNAME
- See Also:
- Constant Field Values
PASSWORD
public static final String PASSWORD
- See Also:
- Constant Field Values
TOKEN_TYPE
public static final String TOKEN_TYPE
- See Also:
- Constant Field Values
WSA_ISSUER
public static final String WSA_ISSUER
- See Also:
- Constant Field Values
WSP_APPLIES_TO
public static final String WSP_APPLIES_TO
- See Also:
- Constant Field Values
IS_BATCH
public static final String IS_BATCH
- See Also:
- Constant Field Values
REQUEST_TYPE
public static final String REQUEST_TYPE
- See Also:
- Constant Field Values
SOAP_BINDING
public static final String SOAP_BINDING
- See Also:
- Constant Field Values
getServiceName
public String getServiceName()
getPortName
public String getPortName()
getEndPointAddress
public String getEndPointAddress()
getUsername
public String getUsername()
getPassword
public String getPassword()
getWsaIssuer
public String getWsaIssuer()
getWspAppliesTo
public String getWspAppliesTo()
isBatch
public boolean isBatch()
getRequestType
public String getRequestType()
getSoapBinding
public String getSoapBinding()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.