|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
weblogic.xml.security.specs.SecuritySpec
Deprecated. please use new WS Security API
public class SecuritySpec
The class represents the top level node of a SecuritySpec. The SecuritySpec is used to described desired WSSE Security elements, independent of the WSSE version. These are specs are the basis of inbound and outbound policy in WLS. Created: Sat Aug 10 18:10:49 2002
Field Summary | |
---|---|
static String |
DEFAULT_SPEC_ID Deprecated. |
Method Summary | |
---|---|
boolean |
getEnablePasswordAuth() Deprecated. Returns whether Password based auth has been enabled for this spec. |
EncryptionSpec |
getEncryptionSpec() Deprecated. Returns the EncryptionSpec for this SecuritySpec |
String |
getId() Deprecated. Returns the id for this SecuritySpec |
String |
getRole() Deprecated. Returns the role for this SecuritySpec |
SignatureSpec |
getSignatureSpec() Deprecated. Returns the SignatureSpec for this SecuritySpec |
BinarySecurityTokenSpec |
setBinarySecurityTokenSpec(BinarySecurityTokenSpec spec) Deprecated. addBinarySecurityTokenSpec adds a spec for a BinarySecurityTokenImpl to the SecuritySpec. |
BinarySecurityTokenSpec |
setBinarySecurityTokenSpec(String type) Deprecated. addBinarySecurityTokenSpec adds a spec for a BinarySecurityTokenImpl to the SecuritySpec. |
void |
setEnablePasswordAuth(boolean enable) Deprecated. enables plain text password auth for this SecuritySpec |
EncryptionSpec |
setEncryptionSpec(EncryptionSpec spec) Deprecated. |
EncryptionSpec |
setEncryptionSpec(String encryptionURI, X509Certificate cert) Deprecated. addEncryptionSpec adds a spec for encrypted data to the SecuritySpec. |
EncryptionSpec |
setEncryptionSpec(String encryptionURI, X509Certificate cert, boolean encryptBody) Deprecated. addEncryptionSpec adds a spec for encrypted data to the SecuritySpec. |
void |
setId(String id) Deprecated. |
void |
setNamespace(String namespace) Deprecated. |
void |
setRole(String role) Deprecated. |
SignatureSpec |
setSignatureSpec(SignatureSpec spec) Deprecated. setSignatureSpec adds the provided signatureSpec to this SecuritySpec |
SignatureSpec |
setSignatureSpec(String canonicalizationURI, String signatureURI) Deprecated. setSignatureSpec adds a SignatureSpec to the SecuritySpec element. |
SignatureSpec |
setSignatureSpec(String canonicalizationURI, String signatureURI, boolean signedBody) Deprecated. setSignatureSpec adds a SignatureSpec to the SecuritySpec element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_SPEC_ID
Method Detail |
---|
public void setRole(String role)
public void setId(String id)
public void setNamespace(String namespace)
public SignatureSpec setSignatureSpec(String canonicalizationURI, String signatureURI)
setSignatureSpec
adds a SignatureSpec to the SecuritySpec element. The SignatureSpec can be further configured using the returned instance.canonicalizationURI
- a String
value that is URI of the canonicalization method to be used in the signaturesignatureURI
- a String
value that is the URI of the signature method to be used for the signature.SignatureSpec
valuepublic SignatureSpec setSignatureSpec(String canonicalizationURI, String signatureURI, boolean signedBody)
setSignatureSpec
adds a SignatureSpec to the SecuritySpec element. The SignatureSpec can be further configured using the returned instance.canonicalizationURI
- a String
value that is URI of the canonicalization method to be used in the signaturesignatureURI
- a String
value that is the URI of the signature method to be used for the signature.signedBody
- indicates whether the operation should cover the SOAP Body.SignatureSpec
valuepublic SignatureSpec setSignatureSpec(SignatureSpec spec)
setSignatureSpec
adds the provided signatureSpec to this SecuritySpecspec
- a SignatureSpecpublic BinarySecurityTokenSpec setBinarySecurityTokenSpec(String type)
addBinarySecurityTokenSpec
adds a spec for a BinarySecurityTokenImpl to the SecuritySpec.type
- a String
value indicating the type of BST to be included (i.e. X509Certificate)UsernameTokenSpec
valuepublic BinarySecurityTokenSpec setBinarySecurityTokenSpec(BinarySecurityTokenSpec spec)
addBinarySecurityTokenSpec
adds a spec for a BinarySecurityTokenImpl to the SecuritySpec.spec
-public EncryptionSpec setEncryptionSpec(String encryptionURI, X509Certificate cert)
addEncryptionSpec
adds a spec for encrypted data to the SecuritySpec.encryptionURI
- a String
value that is the URI of the encryption algorith to be used.cert
- a java.security.cert.X509Certificate
value that is the certificate of the receiver.UsernameTokenSpec
valuepublic EncryptionSpec setEncryptionSpec(String encryptionURI, X509Certificate cert, boolean encryptBody)
addEncryptionSpec
adds a spec for encrypted data to the SecuritySpec.encryptionURI
- a String
value that is the URI of the encryption algorith to be used.cert
- a java.security.cert.X509Certificate
value that is the certificate of the receiver.encryptBody
- indicates whether the operation should cover the entire SOAP Body.UsernameTokenSpec
valuepublic EncryptionSpec setEncryptionSpec(EncryptionSpec spec)
public String getRole()
public String getId()
public void setEnablePasswordAuth(boolean enable)
enable
-public boolean getEnablePasswordAuth()
public SignatureSpec getSignatureSpec()
public EncryptionSpec getEncryptionSpec()
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |