Class CancelTargetImpl
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.bindings.CancelTargetType
-
- com.sun.xml.ws.security.trust.impl.elements.CancelTargetImpl
-
- All Implemented Interfaces:
CancelTarget
public class CancelTargetImpl extends CancelTargetType implements CancelTarget
Defines Binding for requesting security tokens to be cancelled.- Author:
- Manveen Kaur
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.CancelTargetType
any
-
Fields inherited from interface com.sun.xml.ws.security.trust.elements.CancelTarget
CUSTOM_TARGET_TYPE, STR_TARGET_TYPE
-
-
Constructor Summary
Constructors Constructor Description CancelTargetImpl(Token token)CancelTargetImpl(SecurityTokenReference str)CancelTargetImpl(CancelTargetType ctType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityTokenReferencegetSecurityTokenReference()Get the STR for the Token to be CancelledStringgetTargetType()Get the type of the Cancel Target information itemTokengetToken()Get the token to be CancelledvoidsetSecurityTokenReference(SecurityTokenReference ref)Set the STR for the Token to be CancelledvoidsetTargetType(String ttype)voidsetToken(Token token)Set the token to be Cancelled-
Methods inherited from class com.sun.xml.ws.security.trust.impl.bindings.CancelTargetType
getAny, setAny
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.ws.security.trust.elements.CancelTarget
getAny, setAny
-
-
-
-
Constructor Detail
-
CancelTargetImpl
public CancelTargetImpl(SecurityTokenReference str)
-
CancelTargetImpl
public CancelTargetImpl(Token token)
-
CancelTargetImpl
public CancelTargetImpl(CancelTargetType ctType)
-
-
Method Detail
-
getTargetType
public String getTargetType()
Description copied from interface:CancelTargetGet the type of the Cancel Target information item- Specified by:
getTargetTypein interfaceCancelTarget
-
setTargetType
public final void setTargetType(String ttype)
-
setSecurityTokenReference
public final void setSecurityTokenReference(SecurityTokenReference ref)
Description copied from interface:CancelTargetSet the STR for the Token to be Cancelled- Specified by:
setSecurityTokenReferencein interfaceCancelTarget
-
getSecurityTokenReference
public SecurityTokenReference getSecurityTokenReference()
Description copied from interface:CancelTargetGet the STR for the Token to be Cancelled- Specified by:
getSecurityTokenReferencein interfaceCancelTarget
-
setToken
public final void setToken(Token token)
Description copied from interface:CancelTargetSet the token to be Cancelled- Specified by:
setTokenin interfaceCancelTarget
-
getToken
public Token getToken()
Description copied from interface:CancelTargetGet the token to be Cancelled- Specified by:
getTokenin interfaceCancelTarget
-
-