|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public void setResourceRequest(ResourceRequest resReq)
resReq - the ResourceRequest.public void addSessionId(SessionId sessionId)
sessionId - the SessionId object associated with the
AccessControlRequestpublic boolean hasSessionIds()
public Iterator getSessionIds()
public void clearSessionIds()
public void setRemoteAddr(String address)
address - the new IP addresspublic void setRemoteHost(String host)
host - the host name as a Stringpublic void 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.public void setLoginConfigEntry(String loginConfigEntry)
loginConfigEntry - the application name of the agent making this
requestpublic void addAttribute(Attribute attr)
attr - the Attribute to be added.public AttributeValue getResourceId()
public 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
public Iterator getAttributes()
public Iterator getAttributesByCategory(URI attrCategory)
public Iterator getAttributeCategories()
public 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 | ||||||||||