|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.AbstractXMLObject
org.opensaml.xml.signature.AbstractSignableXMLObject
org.openliberty.xmltooling.soapbinding.UserInteraction
public class UserInteraction
A WSC that interacts with a user (typically through a web-site offered by the WSC) may need to indicate its readiness to redirect the user agent of the user, or its readiness to pose questions to the user on behalf of other parties (such as WSPs). The <UserInteraction> header block provides a means by which a WSC can indicate its preferences and capabilities for interactions with requesting principals and, additionally, a SOAP fault message and HTTP redirect profile that enables the WSC and WSP to cooperate in redirecting the requesting principal to the WSP and, after browser interaction, back to the WSC.
<xs:complexType name="UserInteractionHeaderType">
<xs:sequence>
<xs:element name="InteractionService" type="wsa:EndpointReferenceType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="interact" type="xs:string" use="optional" default="interactIfNeeded"/>
<xs:attribute name="language" type="xs:NMTOKENS" use="optional"/>
<xs:attribute name="redirect" type="xs:boolean" use="optional" default="0"/>
<xs:attribute name="maxInteractTime" type="xs:integer" use="optional"/>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<xs:element name="UserInteraction" type="UserInteractionHeaderType"/>
| Nested Class Summary | |
|---|---|
static class |
UserInteraction.Builder
Static Internal Builder |
static class |
UserInteraction.Interact
Implementors may choose to define additional values to indicate finer grained control over the user interactions. |
static class |
UserInteraction.Marshaller
Marshall attributes into the DOM |
static class |
UserInteraction.Unmarshaller
Internal class that handles unmarshalling from the DOM |
| Field Summary | |
|---|---|
static java.lang.String |
ATT_INTERACT
|
static java.lang.String |
ATT_LANGUAGE
|
static java.lang.String |
ATT_MAX_INTERACT_TIME
|
static java.lang.String |
ATT_REDIRECT
|
private java.lang.String |
interact
Indicates any preference that the sender has about interactions between the receiver and the requesting principal. |
private org.opensaml.xml.util.XMLObjectChildrenList<InteractionService> |
interactionServices
If present, this element MUST describe an interaction service hosted by the sender. |
private java.lang.String |
language
This attribute indicates languages that the user is likely able to process. |
static java.lang.String |
LOCAL_NAME
|
private java.lang.Integer |
maxInteractTime
This is used to indicate the maximum time in seconds that the sender regards as reasonable for any possible interaction. |
private java.lang.Boolean |
redirect
An optional attribute to indicate that the sender supports the <RedirectRequest> element that a WSP may include in a message to the WSC. |
private org.opensaml.xml.util.AttributeMap |
unknownAttributes
|
| Constructor Summary | |
|---|---|
UserInteraction()
|
|
UserInteraction(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getInteract()
|
org.opensaml.xml.util.XMLObjectChildrenList<InteractionService> |
getInteractionServices()
|
java.lang.String |
getLanguage()
|
java.lang.Integer |
getMaxInteractTime()
|
java.util.List<org.opensaml.xml.XMLObject> |
getOrderedChildren()
|
java.lang.Boolean |
getRedirect()
|
org.opensaml.xml.util.AttributeMap |
getUnknownAttributes()
|
void |
setInteract(java.lang.String interact)
|
void |
setLanguage(java.lang.String language)
|
void |
setMaxInteractTime(java.lang.Integer maxInteractTime)
|
void |
setRedirect(java.lang.Boolean redirect)
|
| Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject |
|---|
getSignature, isSigned, setSignature |
| Methods inherited from class org.opensaml.xml.AbstractXMLObject |
|---|
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.xml.XMLObject |
|---|
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
| Field Detail |
|---|
public static final java.lang.String LOCAL_NAME
private org.opensaml.xml.util.XMLObjectChildrenList<InteractionService> interactionServices
private java.lang.String interact
UserInteraction.Interact
private java.lang.String language
private java.lang.Boolean redirect
private java.lang.Integer maxInteractTime
private org.opensaml.xml.util.AttributeMap unknownAttributes
public static final java.lang.String ATT_INTERACT
public static final java.lang.String ATT_LANGUAGE
public static final java.lang.String ATT_REDIRECT
public static final java.lang.String ATT_MAX_INTERACT_TIME
| Constructor Detail |
|---|
public UserInteraction()
public UserInteraction(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
| Method Detail |
|---|
public java.lang.String getInteract()
public void setInteract(java.lang.String interact)
public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
public java.lang.Boolean getRedirect()
public void setRedirect(java.lang.Boolean redirect)
public java.lang.Integer getMaxInteractTime()
public void setMaxInteractTime(java.lang.Integer maxInteractTime)
public org.opensaml.xml.util.XMLObjectChildrenList<InteractionService> getInteractionServices()
public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
getOrderedChildren in interface org.opensaml.xml.XMLObjectpublic org.opensaml.xml.util.AttributeMap getUnknownAttributes()
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||