|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.ridc.auth.impl.BasicIdentity
public class BasicIdentity
A simple identity that associates a username with some web credentials
| Constructor Summary | |
|---|---|
BasicIdentity(Credentials.BasicCredentials credentials)Build an identity using only basic credentials. |
|
BasicIdentity(String name)Build identity with no associated credentials |
|
BasicIdentity(String name, Credentials credentials)Associate a user with some credentials |
|
BasicIdentity(String name, String password)Associate a user ID with a basic password credential |
|
| Method Summary | |
|---|---|
Credentials |
getCredentials() |
String |
getName()Returns the name of this principal. |
void |
setCredentials(Credentials credentials) |
void |
setName(String name) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
|---|
equals, hashCode, toString |
| Constructor Detail |
|---|
public BasicIdentity(String name)
name - the identity namepublic BasicIdentity(Credentials.BasicCredentials credentials)
credentials - the basic credentials.
public BasicIdentity(String name,
Credentials credentials)
name - the user namecredentials - the credentials
public BasicIdentity(String name,
String password)
name - the user namepassword - the user password| Method Detail |
|---|
public void setName(String name)
public void setCredentials(Credentials credentials)
public Credentials getCredentials()
getCredentials in interface Identitypublic String getName()
getName in interface Principal
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||