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 BinaryExchange | getBinaryExchange()
return binaryExchange;
|
public CancelTarget | getCancelTarget()
return cancelTarget;
|
public java.net.URI | getCanonicalizationAlgorithm()
return canonAlgorithm;
|
public com.sun.xml.ws.api.security.trust.Claims | getClaims()
return claims;
|
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 Participants | getParticipants()
return participants;
|
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 RenewTarget | getRenewTarget()
return renewTarget;
|
public Renewing | getRenewable()
return renewable;
|
public java.net.URI | getRequestType()
return requestType;
|
public SignChallenge | getSignChallenge()
return signChallenge;
|
public java.net.URI | getSignWith()
return signWith;
|
public java.net.URI | getSignatureAlgorithm()
return signatureAlgorithm;
|
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 | setBinaryExchange(BinaryExchange exchange)
binaryExchange = exchange;
final JAXBElement<BinaryExchangeType> exchangeType =
(new ObjectFactory()).createBinaryExchange((BinaryExchangeType)exchange);
getAny().add(exchangeType);
|
public final void | setCancelTarget(CancelTarget cTarget)
this.cancelTarget = cTarget;
final JAXBElement<CancelTargetType> ctElement =
(new ObjectFactory()).createCancelTarget((CancelTargetType)cTarget);
getAny().add(ctElement);
|
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 | setClaims(com.sun.xml.ws.api.security.trust.Claims claims)
this.claims = claims;
final JAXBElement<ClaimsType> cElement =
(new ObjectFactory()).createClaims((ClaimsType)claims);
getAny().add(cElement);
|
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)) {
log.log(Level.SEVERE,
LogStringsMessages.WST_0026_INVALID_CK_ALGORITHM(ckaString));
throw new RuntimeException(LogStringsMessages.WST_0026_INVALID_CK_ALGORITHM(ckaString));
}
computedKeyAlgorithm = algorithm;
final JAXBElement<String> ckaElement =
(new ObjectFactory()).createComputedKeyAlgorithm(ckaString);
getAny().add(ckaElement);
}
|
public final void | setDelegatable(boolean flag)
delegatable = flag;
final JAXBElement<Boolean> del =
(new ObjectFactory()).createDelegatable(flag);
getAny().add(del);
|
public final void | setDelegateTo(DelegateTo delegateTo)
this.delegateTo = delegateTo;
final JAXBElement<DelegateToType> dtElement =
(new ObjectFactory()).createDelegateTo((DelegateToType)delegateTo);
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 | setParticipants(Participants participants)
this.participants = participants;
final JAXBElement<ParticipantsType> rElement =
(new ObjectFactory()).createParticipants((ParticipantsType)participants);
getAny().add(rElement);
|
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 | setRenewTarget(RenewTarget target)
this.renewTarget = target;
final JAXBElement<RenewTargetType> rElement =
(new ObjectFactory()).createRenewTarget((RenewTargetType)target);
getAny().add(rElement);
|
public final void | setRenewable(Renewing renew)
renewable = renew;
final JAXBElement<RenewingType> renewType =
(new ObjectFactory()).createRenewing((RenewingType)renew);
getAny().add(renewType);
|
public final void | setRequestType(java.net.URI requestType)
final String rtString = requestType.toString();
if (!rtString.equalsIgnoreCase(WSTrustConstants.ISSUE_REQUEST)
&& !rtString.equalsIgnoreCase(WSTrustConstants.CANCEL_REQUEST)
&& !rtString.equalsIgnoreCase(WSTrustConstants.KEY_EXCHANGE_REQUEST)
&& !rtString.equalsIgnoreCase(WSTrustConstants.RENEW_REQUEST)
&& !rtString.equalsIgnoreCase(WSTrustConstants.VALIDATE_REQUEST)) {
log.log(Level.SEVERE,
LogStringsMessages.WST_0024_INVALID_REQUEST_TYPE(rtString));
throw new RuntimeException(LogStringsMessages.WST_0024_INVALID_REQUEST_TYPE(rtString));
}
this.requestType = requestType;
final JAXBElement<String> rtElement =
(new ObjectFactory()).createRequestType(rtString);
getAny().add(rtElement);
|
public final void | setSignChallenge(SignChallenge challenge)
signChallenge = challenge;
final JAXBElement<SignChallengeType> challengeType =
(new ObjectFactory()).createSignChallenge((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 | 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);
|