public class RequestSecurityTokenResponseCollection extends Object implements BaseRequestSecurityTokenResponse
This class represents a WS-Trust RequestSecurityTokenResponseCollection
. It wraps the JAXB representation of
the
security token collection response.
Constructor and Description |
---|
RequestSecurityTokenResponseCollection()
Creates an instance of
RequestSecurityTokenResponseCollection . |
RequestSecurityTokenResponseCollection(RequestSecurityTokenResponseCollectionType delegate)
Creates an instance of
RequestSecurityTokenResponseCollection using the specified delegate. |
Modifier and Type | Method and Description |
---|---|
void |
addRequestSecurityTokenResponse(RequestSecurityTokenResponse response)
Adds the specified
RequestSecurityTokenResponse object to the collection of token requests. |
RequestSecurityTokenResponseCollectionType |
getDelegate()
Obtains a reference to the
RequestSecurityTokenResponseCollectionType delegate. |
List<RequestSecurityTokenResponse> |
getRequestSecurityTokenResponses()
Obtains the collection of
RequestSecurityTokenResponse objects. |
void |
removeRequestSecurityTokenResponse(RequestSecurityTokenResponse response)
Removes the specified
RequestSecurityTokenResponse object from the collection of token requests. |
public RequestSecurityTokenResponseCollection()
Creates an instance of RequestSecurityTokenResponseCollection
.
public RequestSecurityTokenResponseCollection(RequestSecurityTokenResponseCollectionType delegate)
Creates an instance of RequestSecurityTokenResponseCollection
using the specified delegate.
delegate
- the JAXB RequestSecurityTokenResponseCollectionType
that represents a WS-Trust request
collection.public List<RequestSecurityTokenResponse> getRequestSecurityTokenResponses()
Obtains the collection of RequestSecurityTokenResponse
objects. The returned collection is immutable, so
addition
or removal of requests must be carried by the appropriate add/remove methods.
List<RequestSecurityToken>
containing the token requests.public void addRequestSecurityTokenResponse(RequestSecurityTokenResponse response)
Adds the specified RequestSecurityTokenResponse
object to the collection of token requests.
request
- the RequestSecurityTokenResponse
to be added.public void removeRequestSecurityTokenResponse(RequestSecurityTokenResponse response)
Removes the specified RequestSecurityTokenResponse
object from the collection of token requests.
request
- the RequestSecurityTokenResponse
to be removed.public RequestSecurityTokenResponseCollectionType getDelegate()
Obtains a reference to the RequestSecurityTokenResponseCollectionType
delegate.
Copyright © 2018 JBoss by Red Hat. All rights reserved.