|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.DefaultRiskAssessment
public class DefaultRiskAssessment
Constructor Summary | |
---|---|
DefaultRiskAssessment()
|
Method Summary | |
---|---|
boolean |
assessRisk(Subject user,
Target target,
Action action)
|
void |
service(Subject user)
This method provides the required service. |
void |
service(Subject user,
Target target,
Action action)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRiskAssessment()
Method Detail |
---|
public boolean assessRisk(Subject user, Target target, Action action)
assessRisk
in interface RiskAssessment
public void service(Subject user, Target target, Action action) throws PbaException
service
in interface CredentialsService
PbaException
public void service(Subject user) throws PbaException
CredentialsService
The method is always called at decision time and the thrown exception, if any, will be passed on to the AEF.
service
in interface CredentialsService
user
- is the subject that contains the credentials on which
the service is exerted
PbaException
- in case the credentials cannot be used
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |