|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.portal.provider.v2.externalApp.ExternalPrincipal
public class ExternalPrincipal
ExternalUser encapsulates the information necessary for an external application to authenticate a Portal user
Constructor Summary | |
---|---|
ExternalPrincipal(java.lang.String name,
java.lang.String password,
java.lang.String authMethod,
java.lang.String authUrl,
java.util.Map fields)
Deprecated. Use (String, String, String, String,
String, String, Map instead. |
|
ExternalPrincipal(java.lang.String name,
java.lang.String password,
java.lang.String authMethod,
java.lang.String userField,
java.lang.String passField,
java.lang.String authUrl,
java.util.Map fields)
Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object another)
tests whether this object represents the same user as the passed object. |
java.lang.String |
getAuthMethod()
Returns the external application authorisation Method |
java.lang.String |
getAuthUrl()
Returns the external application authoriation Url |
java.lang.String |
getField(java.lang.String name)
Returns the value of the named field |
java.util.Iterator |
getFields()
Returns an iterator over the field names associated with the external application. |
java.lang.String |
getName()
Returns the external application user name |
java.lang.String |
getPassword()
Returns the external application password |
java.lang.String |
getPasswordFieldName()
Returns name of the form field that should contain the password |
java.lang.String |
getUserFieldName()
Returns the name of the form field that should contain the username |
int |
hashCode()
|
java.lang.String |
toString()
Returns a string representation of this external application user |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExternalPrincipal(java.lang.String name, java.lang.String password, java.lang.String authMethod, java.lang.String userField, java.lang.String passField, java.lang.String authUrl, java.util.Map fields)
public ExternalPrincipal(java.lang.String name, java.lang.String password, java.lang.String authMethod, java.lang.String authUrl, java.util.Map fields)
(String, String, String, String,
String, String, Map
instead.
"username"
and a default password field name of "password"
.
Method Detail |
---|
public boolean equals(java.lang.Object another)
equals
in interface java.security.Principal
equals
in class java.lang.Object
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
public java.lang.String getName()
getName
in interface java.security.Principal
public java.lang.String getPassword()
public java.lang.String getUserFieldName()
public java.lang.String getPasswordFieldName()
public java.lang.String getAuthMethod()
public java.lang.String getAuthUrl()
public java.lang.String getField(java.lang.String name)
public java.util.Iterator getFields()
|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |