public class AuthCallbackProxy extends Object implements DpAuthCallback
DpAuthCallback interface and delegates calls to the
 registered callback POJO with annotated methods| Constructor and Description | 
|---|
AuthCallbackProxy(Object backupObject)
Constructor for Callback proxys. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addActionCapability(AuthCBType authCBType)
Add action capability from annotated callType used to register
 capabilities on the server 
 | 
void | 
addActionMethod(String name,
               Method method)
Add callback action method to proxy 
 | 
boolean | 
auth(DpAuthContext atx)
The auth() callback is invoked with an instance to an authentication
 context that provides information about the result of the authentication
 so far. 
 | 
static AuthCallbackProxy[] | 
getAuthCallbackProxys(Object obj)
Get array of proxy objects from registered POJO callback. 
 | 
Object | 
getBackupObject()
Retrieve the callback POJO 
 | 
public AuthCallbackProxy(Object backupObject)
backupObject - registered callback POJOpublic Object getBackupObject()
public void addActionMethod(String name, Method method)
name - canonical action namemethod - registered callback methodpublic void addActionCapability(AuthCBType authCBType)
authCBType - action typepublic boolean auth(DpAuthContext atx) throws DpCallbackException
DpAuthCallbackauth in interface DpAuthCallbackatx - authentication contextDpCallbackExceptionpublic static AuthCallbackProxy[] getAuthCallbackProxys(Object obj) throws DpCallbackException
obj - registered Callback POJODpCallbackException