|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccessControlRequest
The interface to an Access Control Request for a Cafesoft SecurityDomain's Access Control Engine.
| Method Summary | |
|---|---|
void |
addAttribute(Attribute attr)
Add an Attribute to the request. |
void |
addSessionId(SessionId sessionId)
Add a session id to the AccessRequest |
void |
clearSessionIds()
Clear the AccessControlRequest session id's. |
EvaluationResult |
getAttribute(URI attrCategory,
URI type,
URI id)
Returns attribute value(s) from the access control request. |
Iterator |
getAttributeCategories()
Returns the attribute categories represented in this collection. |
Iterator |
getAttributes()
Get all Attributes. |
Iterator |
getAttributesByCategory(URI attrCategory)
Get all Attributes by category. |
AttributeValue |
getResourceId()
Get the Resource identifier. |
Iterator |
getSessionIds()
Get all of the Session Ids added to the request. |
boolean |
hasSessionIds()
Determine if AccessControlRequest had session id's. |
void |
log(Logger logger,
boolean logAttributes)
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 |
|---|
void setResourceRequest(ResourceRequest resReq)
resReq - the ResourceRequest.void addSessionId(SessionId sessionId)
sessionId - the SessionId object associated with the
AccessControlRequestboolean hasSessionIds()
Iterator getSessionIds()
void clearSessionIds()
void setRemoteAddr(String address)
address - the new IP addressvoid setRemoteHost(String host)
host - the host name as a Stringvoid setConfidential(boolean confidential)
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.void setLoginConfigEntry(String loginConfigEntry)
loginConfigEntry - the application name of the agent making this
requestvoid addAttribute(Attribute attr)
attr - the Attribute to be added.AttributeValue getResourceId()
EvaluationResult getAttribute(URI attrCategory,
URI type,
URI id)
attrCategory - the category of the attribute value(s) to findtype - the type of the attribute value(s) to findid - the id of the attribute value(s) to find
Iterator getAttributes()
Iterator getAttributesByCategory(URI attrCategory)
Iterator getAttributeCategories()
void log(Logger logger,
boolean logAttributes)
logger - logs data.logAttributes - boolean flag that indicates whether the log method
should log the AccessControlRequest's attributes. If the value is true
the attributes are logged, otherwise the attributes are not logged.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||