com.bmc.arsys.pluginsvr.plugins
Class AREAPlugin
java.lang.Object
com.bmc.arsys.pluginsvr.plugins.ARPlugin
com.bmc.arsys.pluginsvr.plugins.AREAPlugin
- All Implemented Interfaces:
- AREAPluggable, ARPluggable
public abstract class AREAPlugin
- extends ARPlugin
- implements AREAPluggable
Default implementation of the AREAPluggable interface
AREAPlugin
public AREAPlugin()
areaVerifyLogin
public abstract AREAResponse areaVerifyLogin(ARPluginContext context,
String user,
String password,
String networkAddress,
String authString)
throws com.bmc.arsys.api.ARException
- Description copied from interface:
AREAPluggable
- The plug-in server issues this call when the AR Server makes a
request to authenticate a user.
- Specified by:
areaVerifyLogin in interface AREAPluggable
- Parameters:
context - Current context for this plugin call, like username etc.user - The user's namepassword - The user's unencrypted passwordnetworkAddress - The IP address that the user is connecting fromauthString - The user's authentication string
- Returns:
- a response to the authentication request and
null
is treated as a failed login attempt
- Throws:
com.bmc.arsys.api.ARException
areaNeedSync
public abstract boolean areaNeedSync(ARPluginContext context)
throws com.bmc.arsys.api.ARException
- Description copied from interface:
AREAPluggable
- Allows the plug-in to tell the AR Server that the user information in
its cache is invalid. The AR Server periodically checks with the AREA
plug-in to determine whether any in-memory copies of user information
have expired. The plug-in server issue this call if it recieves an
authentication request from the server at least 5 minutes since the
last authentication request.
- Specified by:
areaNeedSync in interface AREAPluggable
- Parameters:
context - Current context for this plugin call, like username etc.
- Returns:
- a true will instruct the AR Server to expire its internally
stored user information
- Throws:
com.bmc.arsys.api.ARException
? Copyright 2006, 2007 BMC Software, Inc.