|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
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(java.lang.String name) Build identity with no associated credentials |
|
BasicIdentity(java.lang.String name, Credentials credentials) Associate a user with some credentials |
|
BasicIdentity(java.lang.String name, java.lang.String password) Associate a user ID with a basic password credential |
Method Summary | |
---|---|
Credentials |
getCredentials() |
java.lang.String |
getName() Returns the name of this principal. |
void |
setCredentials(Credentials credentials) |
void |
setName(java.lang.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(java.lang.String name)
name
- the identity namepublic BasicIdentity(Credentials.BasicCredentials credentials)
credentials
- the basic credentials.public BasicIdentity(java.lang.String name, Credentials credentials)
name
- the user namecredentials
- the credentialspublic BasicIdentity(java.lang.String name, java.lang.String password)
name
- the user namepassword
- the user passwordMethod Detail |
---|
public void setName(java.lang.String name)
public void setCredentials(Credentials credentials)
public Credentials getCredentials()
getCredentials
in interface Identity
public java.lang.String getName()
getName
in interface java.security.Principal
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |