|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.FlexRemoteCredentials
public class FlexRemoteCredentials
A wrapper object used for holding onto remote credentials. When you are using the proxy service, the remote credentials are used for authenticating against the proxy server. The remote credentials are distinct from the local credentials used to authenticate against the local server. You use this class along with the FlexSession methods getRemoteCredentials and putRemoteCredentials to associate the remote credentials with a specific destination.
| Constructor Summary | |
|---|---|
FlexRemoteCredentials(String service,
String destination,
String username,
Object credentials)
Normally you do not have to create the FlexRemoteCredentials as they are created automatically when the client specifies them via the setRemoteCredentials method in ActionScript. |
|
| Method Summary | |
|---|---|
Object |
getCredentials()
Returns the credentials themselves (usually a password) |
String |
getDestination()
Returns the destination for the service. |
String |
getService()
Returns the id of the service these credentials are registered for. |
String |
getUsername()
Returns the user name from the remote credentials |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlexRemoteCredentials(String service,
String destination,
String username,
Object credentials)
| Method Detail |
|---|
public String getUsername()
public Object getCredentials()
public String getService()
public String getDestination()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/FlexRemoteCredentials.html