Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-04


oracle.security.xmlsec.saml2.ac
Class PrincipalAuthenticationMechanism

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.ac.PrincipalAuthenticationMechanism


public class PrincipalAuthenticationMechanism
extends oracle.security.xmlsec.util.XMLElement

Represents a method that a Principal employs to perform authentication to local system components.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
PrincipalAuthenticationMechanism(org.w3c.dom.Document doc, java.lang.String nsURI)
          Creates a new PrincipalAuthenticationMechanism instance.
PrincipalAuthenticationMechanism(org.w3c.dom.Element element)
          Creates a new PrincipalAuthenticationMechanism instance from the given Element node.
PrincipalAuthenticationMechanism(org.w3c.dom.Element element, java.lang.String systemID)
          Creates a new PrincipalAuthenticationMechanism instance from the given Element node.

 

Method Summary
 void addExtension(Extension extn)
          Adds a schema extension.
 ActivationPin getActivationPin()
          Returns the activation pin information.
 java.util.List getExtensions()
          Returns the schema extensions.
 Password getPassword()
          Returns the password information.
 int getPreAuth()
          Returns the preauth attribute value.
 RestrictedPassword getRestrictedPassword()
          Returns the restricted password information.
 Smartcard getSmartcard()
          Returns the smart card information.
 Token getToken()
          Returns the token information.
 void setActivationPin(ActivationPin ap)
          Sets the activation pin information.
 void setPassword(Password password)
          Sets the password.
 void setPreAuth(int preauth)
          Sets the preauth attribute.
 void setRestrictedPassword(RestrictedPassword password)
          Sets the restricted password information.
 void setSmartcard(Smartcard sc)
          Sets the smart card information.
 void setToken(Token tok)
          Sets the token information.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PrincipalAuthenticationMechanism

public PrincipalAuthenticationMechanism(org.w3c.dom.Element element)
                                 throws org.w3c.dom.DOMException
Creates a new PrincipalAuthenticationMechanism instance from the given Element node.
Parameters:
element - An PrincipalAuthenticationMechanism element.
Throws:
org.w3c.dom.DOMException

PrincipalAuthenticationMechanism

public PrincipalAuthenticationMechanism(org.w3c.dom.Element element,
                                        java.lang.String systemID)
                                 throws org.w3c.dom.DOMException
Creates a new PrincipalAuthenticationMechanism instance from the given Element node.
Parameters:
element - An PrincipalAuthenticationMechanism element.
systemID - The URI string system ID for the PrincipalAuthenticationMechanism.
Throws:
org.w3c.dom.DOMException

PrincipalAuthenticationMechanism

public PrincipalAuthenticationMechanism(org.w3c.dom.Document doc,
                                        java.lang.String nsURI)
                                 throws org.w3c.dom.DOMException
Creates a new PrincipalAuthenticationMechanism instance.
Parameters:
doc - The owner document of the new PrincipalAuthenticationMechanism.
nsURI - The namespace URI in which the new PrincipalAuthenticationMechanism is to be created.
Throws:
org.w3c.dom.DOMException

Method Detail

setPreAuth

public void setPreAuth(int preauth)
Sets the preauth attribute.
Parameters:
preauth - An unsigned integer value.

getPreAuth

public int getPreAuth()
Returns the preauth attribute value.
Returns:
An unsigned integer or 0 if not present or an error occurs.

setPassword

public void setPassword(Password password)
Sets the password.
Parameters:
password - The Password object.

getPassword

public Password getPassword()
Returns the password information.
Returns:
The Password object or null if not present.

setRestrictedPassword

public void setRestrictedPassword(RestrictedPassword password)
Sets the restricted password information.
Parameters:
password - The RestrictedPassword object.

getRestrictedPassword

public RestrictedPassword getRestrictedPassword()
Returns the restricted password information.
Returns:
The RestrictedPassword object or null if not present.

setToken

public void setToken(Token tok)
Sets the token information.
Parameters:
tok - The Token object.

getToken

public Token getToken()
Returns the token information.
Returns:
The Token object or null if not present.

setSmartcard

public void setSmartcard(Smartcard sc)
Sets the smart card information.
Parameters:
sc - The Smartcard object.

getSmartcard

public Smartcard getSmartcard()
Returns the smart card information.
Returns:
The Smartcard object or null if not present.

setActivationPin

public void setActivationPin(ActivationPin ap)
Sets the activation pin information.
Parameters:
ap - The ActivationPin object.

getActivationPin

public ActivationPin getActivationPin()
Returns the activation pin information.
Returns:
The ActivationPin object or null if not present.

addExtension

public void addExtension(Extension extn)
Adds a schema extension.
Parameters:
extn - The Extension object.

getExtensions

public java.util.List getExtensions()
Returns the schema extensions.
Returns:
The List of Extension objects or null if not present.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-04


Copyright © 2005, 2011 , Oracle. All rights reserved.