com.cafesoft.cams.access
Interface InternalAccessControlRequest

All Superinterfaces:
AccessControlRequest

public interface InternalAccessControlRequest
extends AccessControlRequest

Extends the AccessControlRequest by adding methods that allow it to be mutable.

Since:
11/8/02

Method Summary
 String getLoginConfigEntry()
          Returns name of the application making this request.
 String getRemoteAddr()
          Returns the Internet Protocol (IP) address of the client that sent the request.
 String getRemoteHost()
          Returns the fully qualified name of the client that sent the request.
 ResourceRequest getResourceRequest()
          Get the ResourceRequest associated with this AccessControlRequest.
 String getSecurityDomainName()
          Get the SecurityDomain name to which the AccessControlRequest is directed.
 ManagedSession getSession()
          Get the Session.
 SessionId getSessionId()
          Get the Session identifier for the specified SecurityDomain
 boolean isConfidential()
          Check the Confidential status.
 void setProviderId(String providerId)
          Set the Provider Id for this AccessControlRequest
 void setResourceRequest(ResourceRequest resReq)
          Set the ResourceRequest associated with this AccessControlRequest.
 void setSecurityDomainName(String name)
          Set the SecurityDomain name to which the AccessControlRequest applies.
 void setSession(ManagedSession session)
          Set the Session.
 
Methods inherited from interface com.cafesoft.cams.access.AccessControlRequest
addSessionId, log, setConfidential, setLoginConfigEntry, setRemoteAddr, setRemoteHost
 

Method Detail

getSecurityDomainName

public String getSecurityDomainName()
Get the SecurityDomain name to which the AccessControlRequest is directed.

Returns:
the name of the SecurityDomain

setSecurityDomainName

public void setSecurityDomainName(String name)
Set the SecurityDomain name to which the AccessControlRequest applies.

Parameters:
name - the name of the SecurityDomain.

getResourceRequest

public ResourceRequest getResourceRequest()
Get the ResourceRequest associated with this AccessControlRequest.

Returns:
the ResourceRequest

setResourceRequest

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

Specified by:
setResourceRequest in interface AccessControlRequest
Parameters:
resReq - the ResourceRequest.

getSessionId

public SessionId getSessionId()
Get the Session identifier for the specified SecurityDomain

Returns:
the identifier of the Session associated with the AccessControlRequest. If null, then no Session is associated with the request.

getSession

public ManagedSession getSession()
Get the Session.

Returns:
the Session associated with the AccessControlRequest. If null, and the Session ID is not null (see: getSessionId()), then the Session should be looked up and set within this AccessControlRequest.

setSession

public void setSession(ManagedSession session)
Set the Session.

Parameters:
session - the Session associated with the AccessControlRequest. If not set and the Session ID is not null (see: getSessionId()), then the Session should be looked up and set within this AccessControlRequest.

getRemoteAddr

public String getRemoteAddr()
Returns the Internet Protocol (IP) address of the client that sent the request.

Returns:
a String containing the IP address of the client that sent the request

getRemoteHost

public String getRemoteHost()
Returns the fully qualified name of the client that sent the request. If the hostname cannot be resolved, this method returns the dotted-string form of the IP address.

Returns:
a String containing the fully qualified name of the client

isConfidential

public boolean isConfidential()
Check the Confidential status.

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

getLoginConfigEntry

public String getLoginConfigEntry()
Returns name of the application making this request.

Returns:
the application name of the agent making this request

setProviderId

public void setProviderId(String providerId)
Set the Provider Id for this AccessControlRequest

Parameters:
providerId - the Provider Id


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