|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.oracle.bpel.security.BPELPrincipal
BPEL Specific Principal Implementation including credential hashing to md5
| Field Summary | |
static java.lang.String |
XML_BPEL_CALLERstatic constant for XML |
static java.lang.String |
XML_BPEL_CREDENTIALstatic constant for XML |
static java.lang.String |
XML_BPEL_SECURITYstatic constant for XML |
static java.lang.String |
XML_BPEL_USERstatic constant for XML |
| Constructor Summary | |
BPELPrincipal(java.lang.String pFromToString)Internal Constructor for the framework Developers should NOT use this constructor!!! |
|
BPELPrincipal(java.lang.String pName, java.lang.String pPlainTextOrEncrypted)public small Constructor |
|
BPELPrincipal(java.lang.String pName, java.lang.String pPlainTextOrEncrypted, java.net.InetAddress pInetAddress)public extended constructor |
|
| Method Summary | |
java.net.InetAddress |
getCallerAddress()Returns the IP-address of the caller (in case it has been null on the client side it's the address where the client API is running) |
java.lang.String |
getCredential()Returns the password |
java.lang.String |
getName()Returns the name of the Principal |
void |
hashCredentialToMD5()Helper Method for Encrpytion with MD5-Algorithm |
void |
setCallerAddress(java.net.InetAddress pAddress)Set the InetAddress of the caller |
void |
setCredential(java.lang.String pPlainText)Set the password for this specific credential |
java.lang.String |
toString()ToString of this object |
org.w3c.dom.Element |
toXML()To enable easier conversion into xml. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
equals, hashCode |
| Field Detail |
public static final java.lang.String XML_BPEL_SECURITY
public static final java.lang.String XML_BPEL_CREDENTIAL
public static final java.lang.String XML_BPEL_USER
public static final java.lang.String XML_BPEL_CALLER
| Constructor Detail |
public BPELPrincipal(java.lang.String pName,
java.lang.String pPlainTextOrEncrypted)
pName - Name of the principalpPlainTextOrEncrypted - the plaintext password
public BPELPrincipal(java.lang.String pName,
java.lang.String pPlainTextOrEncrypted,
java.net.InetAddress pInetAddress)
pInetAddress - the inetAddress of the caller, if null the one where the API is executed onpName - Name of the principalpPlainTextOrEncrypted - the plaintext password
public BPELPrincipal(java.lang.String pFromToString)
throws java.lang.IllegalArgumentException
pFromToString - the concatination for soapjava.lang.IllegalArgumentException| Method Detail |
public void setCredential(java.lang.String pPlainText)
throws java.security.NoSuchAlgorithmException,
java.io.UnsupportedEncodingException
pPlainText - the plaintextpasswordjava.io.UnsupportedEncodingExceptionjava.security.NoSuchAlgorithmExceptionpublic java.lang.String getCredential()
public java.lang.String getName()
getName in interface java.security.Principalpublic void setCallerAddress(java.net.InetAddress pAddress)
pAddress - the addresspublic java.net.InetAddress getCallerAddress()
public final void hashCredentialToMD5()
throws java.security.NoSuchAlgorithmException,
java.io.UnsupportedEncodingException
java.security.NoSuchAlgorithmException - if the requested algorithm was not foundjava.io.UnsupportedEncodingException - if the requested encoding (UTF-8) is not supportedpublic java.lang.String toString()
toString in interface java.security.Principal
public org.w3c.dom.Element toXML()
throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||