public class SecureServiceClient extends Object
ServiceClient
for a STS/username-token authentication callConstructor and Description |
---|
SecureServiceClient(org.apache.axis2.context.ConfigurationContext ctx) |
Modifier and Type | Method and Description |
---|---|
String |
getUser() |
void |
loadPolicy(InputStream stream) |
void |
loadPolicy(String xmlPath) |
void |
loadStsPolicy(InputStream stream) |
void |
loadStsPolicy(String xmlPath) |
void |
login() |
void |
logout() |
void |
prepareService(org.apache.axis2.client.ServiceClient client) |
void |
prepareService(org.apache.axis2.client.Stub serviceStub)
Prepare service for secure call
|
void |
setPassword(String password) |
void |
setStsServiceAddress(String stsServiceAddress) |
void |
setUser(String user) |
public SecureServiceClient(org.apache.axis2.context.ConfigurationContext ctx)
public void setStsServiceAddress(String stsServiceAddress)
public String getUser()
public void setUser(String user)
public void setPassword(String password)
public void loadPolicy(InputStream stream) throws XMLStreamException
XMLStreamException
public void loadStsPolicy(InputStream stream) throws XMLStreamException
XMLStreamException
public void loadPolicy(String xmlPath) throws FileNotFoundException, XMLStreamException
public void loadStsPolicy(String xmlPath) throws FileNotFoundException, XMLStreamException
public void prepareService(org.apache.axis2.client.Stub serviceStub) throws org.apache.axis2.AxisFault
serviceStub
- org.apache.axis2.AxisFault
public void prepareService(org.apache.axis2.client.ServiceClient client) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void login() throws org.apache.rahas.TrustException
org.apache.rahas.TrustException
public void logout() throws org.apache.rahas.TrustException
org.apache.rahas.TrustException
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.