// Parse the AuthenticationStatements
List<AuthenticationStatementBean> authBeanList = null;
if (authenticationStatementProviders != null && authenticationStatementProviders.size() > 0) {
authBeanList = new ArrayList<AuthenticationStatementBean>();
for (AuthenticationStatementProvider statementProvider : authenticationStatementProviders) {
AuthenticationStatementBean statementBean =
statementProvider.getStatement(tokenParameters);
if (statementBean != null) {
LOG.fine(
"AuthenticationStatement" + statementBean.toString()
+ "returned by AuthenticationStatementProvider "
+ statementProvider.getClass().getName()
);
authBeanList.add(statementBean);
}
}
}
// Parse the AuthDecisionStatements
List<AuthDecisionStatementBean> authDecisionBeanList = null;
if (authDecisionStatementProviders != null
&& authDecisionStatementProviders.size() > 0) {
authDecisionBeanList = new ArrayList<AuthDecisionStatementBean>();
for (AuthDecisionStatementProvider statementProvider
: authDecisionStatementProviders) {
AuthDecisionStatementBean statementBean =
statementProvider.getStatement(tokenParameters);
if (statementBean != null) {
LOG.fine(
"AuthDecisionStatement" + statementBean.toString()
+ "returned by AuthDecisionStatementProvider "
+ statementProvider.getClass().getName()
);
authDecisionBeanList.add(statementBean);
}