Methods Summary |
---|
public AllowPostdating | getAllowPostdating()
return apd;
|
public com.sun.xml.ws.policy.impl.bindings.AppliesTo | getAppliesTo()
return appliesTo;
|
public java.net.URI | getAuthenticationType()
return authenticationType;
|
public Authenticator | getAuthenticator()
return authenticator;
|
public BinaryExchange | getBinaryExchange()
return binaryExchange;
|
public java.net.URI | getCanonicalizationAlgorithm()
return canonAlgorithm;
|
public java.net.URI | getComputedKeyAlgorithm()
return computedKeyAlgorithm;
|
public boolean | getDelegatable()
return delegatable;
|
public DelegateTo | getDelegateTo()
return delegateTo;
|
public java.net.URI | getEncryptWith()
return encryptWith;
|
public Encryption | getEncryption()
return encryption;
|
public java.net.URI | getEncryptionAlgorithm()
return encryptionAlgorithm;
|
public Entropy | getEntropy()
return entropy;
|
public boolean | getForwardable()
return forwardable;
|
public Issuer | getIssuer()
return issuer;
|
public long | getKeySize()
return keySize;
|
public java.net.URI | getKeyType()
return keyType;
|
public Lifetime | getLifetime()
return lifetime;
|
public OnBehalfOf | getOnBehalfOf()
return obo;
|
public com.sun.xml.ws.policy.Policy | getPolicy()
return policy;
|
public com.sun.xml.ws.policy.impl.bindings.PolicyReference | getPolicyReference()
return policyRef;
|
public ProofEncryption | getProofEncryption()
return proofEncryption;
|
public Renewing | getRenewable()
return renewable;
|
public RequestedAttachedReference | getRequestedAttachedReference()
return requestedAttachedReference;
|
public RequestedProofToken | getRequestedProofToken()
return requestedProofToken;
|
public RequestedSecurityToken | getRequestedSecurityToken()
return requestedSecToken;
|
public RequestedTokenCancelled | getRequestedTokenCancelled()
return this.rtc;
|
public RequestedUnattachedReference | getRequestedUnattachedReference()
return requestedUnattachedReference;
|
public SignChallenge | getSignChallenge()
return signChallenge;
|
public SignChallengeResponse | getSignChallengeResponse()
return signChallengeRes;
|
public java.net.URI | getSignWith()
return signWith;
|
public java.net.URI | getSignatureAlgorithm()
return signatureAlgorithm;
|
public Status | getStatus()
return status;
|
public java.net.URI | getTokenType()
return tokenType;
|
public UseKey | getUseKey()
return useKey;
|
public final void | setAllowPostdating(AllowPostdating allowPostdating)
apd = allowPostdating;
final JAXBElement<AllowPostdatingType> allowPd =
(new ObjectFactory()).createAllowPostdating((AllowPostdatingType)apd);
getAny().add(allowPd);
|
public final void | setAppliesTo(com.sun.xml.ws.policy.impl.bindings.AppliesTo appliesTo)
getAny().add(appliesTo);
this.appliesTo = appliesTo;
|
public final void | setAuthenticationType(java.net.URI uri)
this.authenticationType = uri;
final JAXBElement<String> atElement =
(new ObjectFactory()).createAuthenticationType(uri.toString());
getAny().add(atElement);
|
public final void | setAuthenticator(Authenticator authenticator)
this.authenticator = authenticator;
final JAXBElement<AuthenticatorType> authType =
(new ObjectFactory()).createAuthenticator((AuthenticatorType)authenticator);
getAny().add(authType);
|
public final void | setBinaryExchange(BinaryExchange exchange)
binaryExchange = exchange;
final JAXBElement<BinaryExchangeType> exchangeType =
(new ObjectFactory()).createBinaryExchange((BinaryExchangeType)exchange);
getAny().add(exchangeType);
|
public final void | setCanonicalizationAlgorithm(java.net.URI algorithm)
canonAlgorithm = algorithm;
final JAXBElement<String> canonElement =
(new ObjectFactory()).createCanonicalizationAlgorithm(algorithm.toString());
getAny().add(canonElement);
|
public final void | setComputedKeyAlgorithm(java.net.URI algorithm)
if (algorithm != null) {
final String ckaString = algorithm.toString();
if (!ckaString.equalsIgnoreCase(WSTrustConstants.CK_HASH)
&& !ckaString.equalsIgnoreCase(WSTrustConstants.CK_PSHA1)) {
throw new RuntimeException("Invalid Computed Key Algorithm specified");
}
computedKeyAlgorithm = algorithm;
final JAXBElement<String> ckaElement =
(new ObjectFactory()).createComputedKeyAlgorithm(ckaString);
getAny().add(ckaElement);
}
|
public final void | setDelegatable(boolean flag)
this.delegatable = flag;
final JAXBElement<Boolean> del =
(new ObjectFactory()).createDelegatable(flag);
getAny().add(del);
|
public final void | setDelegateTo(DelegateTo to)
this.delegateTo = to;
final JAXBElement<DelegateToType> dtElement =
(new ObjectFactory()).createDelegateTo((DelegateToType)to);
getAny().add(dtElement);
|
public final void | setEncryptWith(java.net.URI algorithm)
encryptWith = algorithm;
final JAXBElement<String> sElement = (new ObjectFactory()).createEncryptWith(algorithm.toString());
getAny().add(sElement);
|
public final void | setEncryption(Encryption enc)
this.encryption = enc;
final JAXBElement<EncryptionType> encElement =
(new ObjectFactory()).createEncryption((EncryptionType)enc);
getAny().add(encElement);
|
public final void | setEncryptionAlgorithm(java.net.URI algorithm)
encryptionAlgorithm = algorithm;
final JAXBElement<String> encElement =
(new ObjectFactory()).createEncryptionAlgorithm(algorithm.toString());
getAny().add(encElement);
|
public final void | setEntropy(Entropy entropy)
this.entropy = entropy;
final JAXBElement<EntropyType> etElement =
(new ObjectFactory()).createEntropy((EntropyType)entropy);
getAny().add(etElement);
|
public final void | setForwardable(boolean flag)
forwardable = flag;
final JAXBElement<Boolean> forward =
(new ObjectFactory()).createForwardable(flag);
getAny().add(forward);
|
public final void | setIssuer(Issuer issuer)
this.issuer = issuer;
/* JAXBElement<EndpointReferenceImpl> eprType =
(new com.sun.xml.ws.security.trust.impl.bindings.ObjectFactory()).createIssuer((EndpointReferenceImpl)issuer);
getAny().add(eprType);*/
|
public final void | setKeySize(long size)
keySize = size;
final JAXBElement<Long> ksElement = (new ObjectFactory()).createKeySize(size);
getAny().add(ksElement);
|
public final void | setKeyType(java.net.URI keytype)
if (! (keytype.toString().equalsIgnoreCase(RequestSecurityToken.PUBLIC_KEY_TYPE)
|| keytype.toString().equalsIgnoreCase(RequestSecurityToken.SYMMETRIC_KEY_TYPE) )){
log.log(Level.SEVERE,
LogStringsMessages.WST_0025_INVALID_KEY_TYPE(keytype.toString(), null));
throw new WSTrustException(LogStringsMessages.WST_0025_INVALID_KEY_TYPE(keytype.toString(), null));
} else {
this.keyType = keytype;
final JAXBElement<String> ktElement =
(new ObjectFactory()).createKeyType(keyType.toString());
getAny().add(ktElement);
}
|
public final void | setLifetime(Lifetime lifetime)
this.lifetime = lifetime;
final JAXBElement<LifetimeType> ltElement =
(new ObjectFactory()).createLifetime((LifetimeType)lifetime);
getAny().add(ltElement);
|
public final void | setOnBehalfOf(OnBehalfOf onBehalfOf)
obo = onBehalfOf;
|
public final void | setPolicy(com.sun.xml.ws.policy.Policy policy)
this.policy = policy;
getAny().add(policy);
|
public final void | setPolicyReference(com.sun.xml.ws.policy.impl.bindings.PolicyReference policyRef)
this.policyRef = policyRef;
getAny().add(policyRef);
|
public final void | setProofEncryption(ProofEncryption proofEncryption)
this.proofEncryption = proofEncryption;
final JAXBElement<ProofEncryptionType> proofElement =
(new ObjectFactory()).createProofEncryption((ProofEncryptionType)proofEncryption);
getAny().add(proofElement);
|
public final void | setRenewable(Renewing renew)
renewable = renew;
final JAXBElement<RenewingType> renewType =
(new ObjectFactory()).createRenewing((RenewingType)renew);
getAny().add(renewType);
|
public final void | setRequestedAttachedReference(RequestedAttachedReference reference)
requestedAttachedReference = reference;
final JAXBElement<RequestedReferenceType> raElement = (new ObjectFactory()).
createRequestedAttachedReference((RequestedReferenceType)reference);
getAny().add(raElement);
|
public final void | setRequestedProofToken(RequestedProofToken proofToken)
requestedProofToken = proofToken;
final JAXBElement<RequestedProofTokenType> pElement = (new ObjectFactory()).
createRequestedProofToken((RequestedProofTokenType)proofToken);
getAny().add(pElement);
|
public final void | setRequestedSecurityToken(RequestedSecurityToken securityToken)
requestedSecToken = securityToken;
final JAXBElement<RequestedSecurityTokenType> rstElement = (new ObjectFactory()).
createRequestedSecurityToken((RequestedSecurityTokenType)securityToken);
getAny().add(rstElement);
|
public final void | setRequestedTokenCancelled(RequestedTokenCancelled rtc)
this.rtc = rtc;
final JAXBElement<RequestedTokenCancelledType> rtcElement =
(new ObjectFactory()).createRequestedTokenCancelled((RequestedTokenCancelledType)rtc);
getAny().add(rtcElement);
|
public final void | setRequestedUnattachedReference(RequestedUnattachedReference reference)
requestedUnattachedReference = reference;
final JAXBElement<RequestedReferenceType> raElement = (new ObjectFactory()).
createRequestedUnattachedReference((RequestedReferenceType)reference);
getAny().add(raElement);
|
public final void | setSignChallenge(SignChallenge challenge)
signChallenge = challenge;
final JAXBElement<SignChallengeType> challengeType =
(new ObjectFactory()).createSignChallenge((SignChallengeType)challenge);
getAny().add(challengeType);
|
public final void | setSignChallengeResponse(SignChallengeResponse challenge)
signChallengeRes = challenge;
final JAXBElement<SignChallengeType> challengeType =
(new ObjectFactory()).createSignChallengeResponse((SignChallengeType)challenge);
getAny().add(challengeType);
|
public final void | setSignWith(java.net.URI algorithm)
signWith = algorithm;
final JAXBElement<String> sElement = (new ObjectFactory()).createSignWith(algorithm.toString());
getAny().add(sElement);
|
public final void | setSignatureAlgorithm(java.net.URI algorithm)
signatureAlgorithm = algorithm;
final JAXBElement<String> signElement =
(new ObjectFactory()).createSignatureAlgorithm(algorithm.toString());
getAny().add(signElement);
|
public final void | setStatus(Status status)
this.status = status;
final JAXBElement<StatusType> sElement =
(new ObjectFactory()).createStatus((StatusType)status);
getAny().add(sElement);
|
public final void | setTokenType(java.net.URI tokenType)
if (tokenType != null) {
this.tokenType = tokenType;
final JAXBElement<String> ttElement =
(new ObjectFactory()).createTokenType(tokenType.toString());
getAny().add(ttElement);
}
|
public final void | setUseKey(UseKey useKey)
this.useKey = useKey;
final JAXBElement<UseKeyType> ukElement =
(new ObjectFactory()).createUseKey((UseKeyType)useKey);
getAny().add(ukElement);
|