11-8 Oracle Fusion Middleware Reference for Oracle Security Developer Tools
Get list of all RegisterNameIdentifierResponse elements in the document NodeList rnirList = doc.getElementsByTagNameNSLibertyURI.ns_liberty,
RegisterNameIdentifierResponse; if rnirList.getLength == 0
System.err.printlnNo RegisterNameIdentifierResponse elements found.; Convert each org.w3c.dom.Node object to an
oracle.security.xmlsec.liberty.v11.RegisterNameIdentifierResponse object and process
for int s = 0, n = rnirList.getLength; s n; ++s {
RegisterNameIdentifierResponse rnir = new RegisterNameIdentifierResponseElementrnirList.items;
Process RegisterNameIdentifierResponse element ...
}
11.2.2.2 Supporting Classes and Interfaces
This section describes supporting classes and interfaces of Oracle Liberty SDK v. 1.1. The supporting classes and interfaces are:
■
The oracle.security.xmlsec.liberty.v11.LibertyInitializer class
■
The oracle.security.xmlsec.liberty.v11.LibertyURI interface
■
The oracle.security.xmlsec.liberty.v11.ac.AuthenticationContextURI interface
■
The oracle.security.xmlsec.util.ac.AuthenticationContextStatement class
■
The oracle.security.xmlsec.saml.SAMLURI Interface
■
The oracle.security.xmlsec.saml.SAMLMessage class
11.2.2.2.1 The oracle.security.xmlsec.liberty.v11.LibertyInitializer class
The oracle.security.xmlsec.liberty.v11.LibertyInitializer class handles load-time initialization and configuration of the Oracle Liberty SDK library.
You must call this classs static initialize method before making any calls to the Oracle Liberty SDK API.
11.2.2.2.2 The oracle.security.xmlsec.liberty.v11.LibertyURI interface
The oracle.security.xmlsec.liberty.v11.LibertyURI interface defines
URI string constants for algorithms, namespaces and objects. The following naming
convention is used:
■
Algorithm URIs begin with alg_.
■
Namespace URIs begin with ns_.
■
Object type URIs begin with obj_.
■
Liberty profile namespace URIs begin with prof_.
11.2.2.2.3 The oracle.security.xmlsec.liberty.v11.ac.AuthenticationContextURI interface
The oracle.security.xmlsec.liberty.v11.ac.AuthenticationContextURI
interface defines URI string constants for algorithms, namespaces and objects. The following naming convention is used:
Oracle Liberty SDK 11-9
■
Algorithm URIs begin with alg_.
■
Namespace URIs begin with ns_.
■
Object type URIs begin with obj_.
11.2.2.2.4 The oracle.security.xmlsec.util.ac.AuthenticationContextStatement class
The oracle.security.xmlsec.util.ac.AuthenticationContextStatement
class is an abstract class representing the top-level AuthenticationContextStatement element of the Liberty authentication context
schema. Each concrete implementation of this class represents a respective class defined in the Liberty Authentication Context Specification.
11.2.2.2.5 The oracle.security.xmlsec.saml.SAMLURI Interface
The oracle.security.xmlsec.saml.SAMLURI interface defines URI string constants for algorithms, namespaces and objects. The following naming convention is
used:
■
Action namespace URIs defined in the SAML 1.0 specifications begin with action_
■
Authentication method namespace URIs defined in the SAML 1.0 specifications begin with authentication_method_.
■
Confirmation method namespace URIs defined in the SAML 1.0 specifications begin with confirmation_method_.
■
Namespace URIs begin with ns_.
11.2.2.2.6 The oracle.security.xmlsec.saml.SAMLMessage class
The oracle.security.xmlsec.saml.SAMLMessage class is the base class for all the SAML and SAML extension messages that may be signed and contain an
XML-DSIG structure.
11.2.3 The Oracle Liberty SDK 1.1 API Reference