|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.platform.symphony.soam.ConnectionSecurityCallback
com.platform.symphony.soam.DefaultSecurityCallback
public class DefaultSecurityCallback
This implementation of ConnectionSecurityCallback
uses the
middleware's built-in security framework for client verification.
To use custom security framework, implement the
ConnectionSecurityCallback
interface.
NOTE: If any of the methods of this class are called after the main(...) method exits,
the client or service process may behave in an undefined manner (for example,
hang or terminate abnormally).
ConnectionSecurityCallback
,
SoamFactory.connect(String, ConnectionSecurityCallback)
,
SoamFactory.connect(String, String, ConnectionSecurityCallback)
Constructor Summary | |
---|---|
DefaultSecurityCallback(java.lang.String username,
java.lang.String password)
Constructor for the callback object. |
Method Summary | |
---|---|
java.lang.String |
onGetAuthname()
Retrieves and returns the authorization domain that is used to validate the client to the middleware. |
java.lang.String |
onGetPassword()
Retrieves and returns the password that is used to validate the client to the middleware. |
java.lang.String |
onGetTtl()
Retrieves and returns the time to live that is used to validate the client to the middleware. |
java.lang.String |
onGetUsername()
Retrieves and returns the username that is used to validate the client to the middleware. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSecurityCallback(java.lang.String username, java.lang.String password)
username
- The name of the user
A null value will be treated as an empty string.password
- The password to be used in combination with the given username for authentication.
A null value will be treated as an empty string.Method Detail |
---|
public java.lang.String onGetUsername()
onGetUsername
in class ConnectionSecurityCallback
public java.lang.String onGetPassword()
onGetPassword
in class ConnectionSecurityCallback
public java.lang.String onGetAuthname()
onGetAuthname
in class ConnectionSecurityCallback
public java.lang.String onGetTtl()
onGetTtl
in class ConnectionSecurityCallback
|
Version 5.1 Date Modified: -DREL_DATE=Apr 28 2011 Platform Computing. Accelerating Intelligence(TM). Copyright (C) 2001-2009 Platform Computing Corporation. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |