FileDocCategorySizeDatePackage
RequestSecurityToken.javaAPI DocExample5065Tue May 29 16:56:56 BST 2007com.sun.xml.ws.security.trust.elements

RequestSecurityToken

public interface RequestSecurityToken implements WSTrustElementBase
author
Kumar Jayanti

Fields Summary
public static final String
PUBLIC_KEY_TYPE
Predefined constants for the Type of Key desired in the Security Token Values for the wst:KeyType parameter
public static final String
SYMMETRIC_KEY_TYPE
Constructors Summary
Methods Summary
public java.util.ListgetAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

getAny().add(newItem);

Objects of the following type(s) are allowed in the list {@link Element } {@link Object }

public CancelTargetgetCancelTarget()

public com.sun.xml.ws.api.security.trust.ClaimsgetClaims()
Get the desired claims settings for the token if specified, null otherwise

public java.lang.StringgetContext()
Gets the value of the context property.

return
{@link String }

public java.util.MapgetOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

return
always non-null

public ParticipantsgetParticipants()
Get the participants sharing the token if specified, null otherwise

public java.net.URIgetRequestType()
Get the type of request, specified as a URI. The URI indicates the class of function that is requested.

return
{@link URI}

public voidsetClaims(com.sun.xml.ws.api.security.trust.Claims claims)
Set the desired claims settings for the requested token

public voidsetParticipants(Participants participants)
Set the Participants Sharing the requested Token

public voidsetRequestType(java.net.URI requestType)
Set the type of request, specified as a URI.

param
requestType {@link URI}