|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.xml.security.specs.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. |
Constructor Summary | |
SecuritySpec()
Deprecated. |
|
SecuritySpec(String name,
String targetNS)
Deprecated. Creates a new SecuritySpec instance. |
|
SecuritySpec(String name,
String targetNS,
String actorURI)
Deprecated. Creates a new SecuritySpec instance. |
Method Summary | |
Security |
createSecurity(String role,
TimestampConfig tsConfig,
String username,
String password,
X509Certificate encryptCert,
PrivateKey sigKey,
X509Certificate sigCert,
SecurityElementFactory factory)
Deprecated. |
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. |
weblogic.xml.security.specs.UsernameTokenSpec |
setUsernameTokenSpec(String passwordType)
Deprecated. setUsernameTokenSpec adds a UsernameTokenSpec to the
SecuritySpec element. |
weblogic.xml.security.specs.UsernameTokenSpec |
setUsernameTokenSpec(String passwordType,
String realm)
Deprecated. setUsernameTokenSpec adds a UsernameTokenSpec to the
SecuritySpec element. |
weblogic.xml.security.specs.UsernameTokenSpec |
setUsernameTokenSpec(weblogic.xml.security.specs.UsernameTokenSpec spec)
Deprecated. setUsernameTokenSpec adds a UsernameTokenSpec to the
SecuritySpec element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String DEFAULT_SPEC_ID
Constructor Detail |
public SecuritySpec()
public SecuritySpec(String name, String targetNS)
SecuritySpec
instance.
public SecuritySpec(String name, String targetNS, String actorURI)
SecuritySpec
instance.
Method Detail |
public final Security createSecurity(String role, TimestampConfig tsConfig, String username, String password, X509Certificate encryptCert, PrivateKey sigKey, X509Certificate sigCert, SecurityElementFactory factory)
public boolean getEnablePasswordAuth()
public EncryptionSpec getEncryptionSpec()
public String getId()
public String getRole()
public SignatureSpec getSignatureSpec()
public BinarySecurityTokenSpec setBinarySecurityTokenSpec(BinarySecurityTokenSpec spec)
addBinarySecurityTokenSpec
adds a spec for a
BinarySecurityTokenImpl to the SecuritySpec.
spec
-
public 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 void setEnablePasswordAuth(boolean enable)
enable
- public EncryptionSpec setEncryptionSpec(EncryptionSpec 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 void setId(String id)
public void setNamespace(String namespace)
public void setRole(String role)
public SignatureSpec setSignatureSpec(SignatureSpec spec)
setSignatureSpec
adds the provided signatureSpec
to this SecuritySpec
spec
- a SignatureSpec
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 weblogic.xml.security.specs.UsernameTokenSpec setUsernameTokenSpec(String passwordType)
setUsernameTokenSpec
adds a UsernameTokenSpec to the
SecuritySpec element.
passwordType
- a String
value
UsernameTokenSpec
valuepublic weblogic.xml.security.specs.UsernameTokenSpec setUsernameTokenSpec(String passwordType, String realm)
setUsernameTokenSpec
adds a UsernameTokenSpec to the
SecuritySpec element.
passwordType
- a String
valuerealm
- a String
value
UsernameTokenSpec
valuepublic weblogic.xml.security.specs.UsernameTokenSpec setUsernameTokenSpec(weblogic.xml.security.specs.UsernameTokenSpec spec)
setUsernameTokenSpec
adds a UsernameTokenSpec to the
SecuritySpec element.
spec
-
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |