com.cafesoft.cams.access
Interface AccessControlRequest

All Known Subinterfaces:
InternalAccessControlRequest

public interface AccessControlRequest

The interface to an Access Control Request for a Cafesoft SecurityDomain's Access Control Engine.

Since:
5/21/02

Method Summary
 void addSessionId(SessionId sessionId)
          Add a session id to the AccessRequest
 void log(Logger logger)
          Logs the data contained in this request to the specified logger.
 void setConfidential(boolean confidential)
          Set the Confidential status.
 void setLoginConfigEntry(String loginConfigEntry)
          Sets name of the application making this request.
 void setRemoteAddr(String address)
          Set the Internet Protocol (IP) address of the client that sent the request.
 void setRemoteHost(String host)
          Set the fully qualified name of the client that sent the request.
 void setResourceRequest(ResourceRequest resReq)
          Set the ResourceRequest associated with this AccessControlRequest.
 

Method Detail

setResourceRequest

public void setResourceRequest(ResourceRequest resReq)
Set the ResourceRequest associated with this AccessControlRequest.

Parameters:
resReq - the ResourceRequest.

addSessionId

public void addSessionId(SessionId sessionId)
Add a session id to the AccessRequest

Parameters:
sessionId - the SessionId object associated with the AccessControlRequest

setRemoteAddr

public void setRemoteAddr(String address)
Set the Internet Protocol (IP) address of the client that sent the request.

Parameters:
address - the new IP address

setRemoteHost

public void setRemoteHost(String host)
Set the fully qualified name of the client that sent the request. If the hostname cannot be resolved, this method sets the dotted-string form of the IP address as the host name.

Parameters:
host - the host name as a String

setConfidential

public void setConfidential(boolean confidential)
Set the Confidential status.

Parameters:
confidential - if true, the resource is being requested via a confidential network connection. If false, the resource is not being requested via a confidential (secure) connection.

setLoginConfigEntry

public void setLoginConfigEntry(String loginConfigEntry)
Sets name of the application making this request.

Parameters:
loginConfigEntry - the application name of the agent making this request

log

public void log(Logger logger)
Logs the data contained in this request to the specified logger.

Parameters:
logger - logs data


Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.