|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyInformationPoint
A PolicyInformationPoint
(PIP) gathers information from the current execution environment and populates the
subject, environment, and resource information within a Request
.
It is possible that a PIP is not applicable in all cases. For example an application that accepts both X.509
certificates and Kerberos ticket as authentication methods might have one PIP for dealing with the certificates and
another for dealing with the ticket. Therefore a PIP should indicate that it does not apply to a current request by
returning false
from the populateRequest(Request)
method. It should not throw
an exception in this case.
Some example of what a policy information point may do would be:
Method Summary | |
---|---|
java.lang.String |
getId()
Gets a unique identifier for this information point. |
boolean |
populateRequest(Request request)
Populates the request with information gathered by this information point. |
void |
start()
Stars the PIP. |
void |
stop()
Stops the PIP. |
Method Detail |
---|
java.lang.String getId()
boolean populateRequest(Request request) throws PIPProcessingException, java.lang.IllegalStateException
request
- the current request to populate
PIPProcessingException
- thrown if there is a problem executing this information point
java.lang.IllegalStateException
- thrown if this method is called before start()
or after stop()
.void start() throws PIPException
PIPException
- thrown if there is a problem starting the PIPvoid stop() throws PIPException
PIPException
- throw if there is a problem stop the PIP
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |