public class SessionAuthenticationMethod extends Object implements AuthenticationMethod
| Modifier and Type | Field and Description |
|---|---|
static String |
METHOD_URN
URN of the authentication method.
|
| Constructor and Description |
|---|
SessionAuthenticationMethod(SessionInformation sessionInfo)
Creates a new SessionAuthenticationMethod.
|
SessionAuthenticationMethod(String credentials)
Creates a new SessionAuthenticationMethod.
|
| Modifier and Type | Method and Description |
|---|---|
org.dom4j.Element |
asDOM4jElement()
XML representation of the authentication method as DOM4j Element.
|
org.apache.commons.httpclient.NameValuePair[] |
asNameValue()
Returns the specific POST payload for session authentication to an WSS.
|
String |
asText()
Textual representation of the authentication method.
|
String |
getSessionID()
DOCUMENT ME!
|
void |
setSessionID(String sessionID)
DOCUMENT ME!
|
String |
toString()
DOCUMENT ME!
|
public static final String METHOD_URN
public SessionAuthenticationMethod(String credentials)
credentials - A String, containing session informationpublic SessionAuthenticationMethod(SessionInformation sessionInfo)
sessionInfo - the SessionInformationpublic String getSessionID()
public void setSessionID(String sessionID)
sessionID - DOCUMENT ME!public org.apache.commons.httpclient.NameValuePair[] asNameValue()
asNameValue in interface AuthenticationMethodAuthenticationMethod.asNameValue()public String asText()
AuthenticationMethodasText in interface AuthenticationMethodAuthenticationMethod.asText()public org.dom4j.Element asDOM4jElement()
AuthenticationMethodasDOM4jElement in interface AuthenticationMethodAuthenticationMethod.asDOM4jElement()Copyright © 2012–2025 cismet GmbH. All rights reserved.