|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.provision.PolicyProcessor
Field Summary | |
static java.lang.String |
ACCOUNT_ID_POLICY
|
static java.lang.String |
CLASS
|
static java.lang.String |
code_id
|
static java.lang.String |
PASSWORD_POLICY
getEffectivePolicy recognizes these policy types |
Constructor Summary | |
PolicyProcessor(LighthouseContext ctx)
|
|
PolicyProcessor(LighthouseContext ctx,
PolicyManager policyManager)
|
Method Summary | |
protected void |
auditPolicyFailure(WSUser user,
java.lang.String accountId,
java.lang.String resourceName,
java.lang.Throwable e)
Audit all the information we can about the failure. |
void |
checkAccountIdPolicies(WSUser user,
java.util.List accounts,
java.lang.String op)
Check just accountId policies for a list of accounts. |
void |
checkAccountPolicies(WSUser user,
java.util.List accounts,
java.lang.String op)
Check accountId and password policies for a list of accounts. |
void |
checkAuthenticationPolicies(WSUser user)
Check the authentication answers and supplied questions against the specified policies. |
protected void |
checkLighthouseAccountIdPolicy(WSUser user,
java.util.Map atts,
java.lang.String op)
Check the Lighthouse accountId policy if necessary. |
protected void |
checkLighthousePasswordPolicy(WSUser user,
java.util.Map atts)
Check the Lighthouse password policy if necessary. |
void |
checkPasswordPolicies(WSUser user,
java.util.List accounts)
Check just password policies for a list of accounts. |
protected void |
checkPolicy(Policy p,
java.lang.Object value,
java.util.Map atts,
java.util.List pwdhistory,
java.lang.String owner)
|
ResourceAdapter |
getAdapter(Resource res)
Get the adapter for a resource definition. |
Policy |
getEffectivePolicy(WSUser user,
java.lang.String policyType,
boolean getDefaultIfNoneAssigned)
Get the Waveset policy for id and password generation. |
boolean |
lighthouseIsAuthnResource(WSUser user)
Return true if Lighthouse is in the authentication stack. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String CLASS
public static final java.lang.String PASSWORD_POLICY
public static final java.lang.String ACCOUNT_ID_POLICY
Constructor Detail |
public PolicyProcessor(LighthouseContext ctx) throws WavesetException
public PolicyProcessor(LighthouseContext ctx, PolicyManager policyManager) throws WavesetException
Method Detail |
public boolean lighthouseIsAuthnResource(WSUser user) throws WavesetException
WavesetException
public Policy getEffectivePolicy(WSUser user, java.lang.String policyType, boolean getDefaultIfNoneAssigned) throws WavesetException
WavesetException
public void checkAccountPolicies(WSUser user, java.util.List accounts, java.lang.String op) throws PolicyViolation, WavesetException
PolicyViolation
WavesetException
public void checkAccountIdPolicies(WSUser user, java.util.List accounts, java.lang.String op) throws PolicyViolation, WavesetException
PolicyViolation
WavesetException
public void checkPasswordPolicies(WSUser user, java.util.List accounts) throws PolicyViolation, WavesetException
PolicyViolation
WavesetException
public final void checkAuthenticationPolicies(WSUser user) throws PolicyViolation, WavesetException
user
-
PolicyViolation
- Exception containing information on all violations.
WavesetException
protected void checkLighthousePasswordPolicy(WSUser user, java.util.Map atts) throws PolicyViolation, WavesetException
PolicyViolation
WavesetException
protected void checkLighthouseAccountIdPolicy(WSUser user, java.util.Map atts, java.lang.String op) throws PolicyViolation, WavesetException
In addition, this should only happen for creates and renames, not updates as the Lighthouse account id could have been set when the policy was different or could have been imported from another resource (see bug#5365) This method is protected since IDMXPolicyProcessor overrides it.
PolicyViolation
WavesetException
protected void checkPolicy(Policy p, java.lang.Object value, java.util.Map atts, java.util.List pwdhistory, java.lang.String owner) throws PolicyViolation, WavesetException
PolicyViolation
WavesetException
public ResourceAdapter getAdapter(Resource res) throws WavesetException
WavesetException
protected void auditPolicyFailure(WSUser user, java.lang.String accountId, java.lang.String resourceName, java.lang.Throwable e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |