...
Code Block | ||
---|---|---|
| ||
<bean id="lppeEnabledLdapAuthenticationHandler" class="org.jasig.cas.adaptors.ldap.lppe.LdapPasswordPolicyAwareAuthenticationHandler"> <property name="ldapAuthenticationHandler" ref="bindLdapAuthenticationHandler" /> <property name="ldapErrorDefinitions"> <list> <bean class="org.jasig.cas.adaptors.ldap.lppe.AccountDisabledLdapErrorDefinitionActiveDirectoryAccountDisabledLdapErrorDefinition" /> <bean class="org.jasig.cas.adaptors.ldap.lppe.AccountLockedLdapErrorDefinitionActiveDirectoryAccountLockedLdapErrorDefinition" /> <bean class="org.jasig.cas.adaptors.ldap.lppe.InvalidLoginHoursLdapErrorDefinitionActiveDirectoryInvalidLoginHoursLdapErrorDefinition" /> <bean class="org.jasig.cas.adaptors.ldap.lppe.InvalidLoginWorkstationLdapErrorDefinitionActiveDirectoryInvalidLoginWorkstationLdapErrorDefinition" /> <bean class="org.jasig.cas.adaptors.ldap.lppe.AccountMustChangePasswordLdapErrorDefinitionActiveDirectoryAccountMustChangePasswordLdapErrorDefinition" /> <bean class="org.jasig.cas.adaptors.ldap.lppe.AccountPasswordExpiredLdapErrorDefinitionActiveDirectoryAccountPasswordExpiredLdapErrorDefinition" /> </list> </property> <property name="ldapPasswordPolicyExaminers"> <list> <bean class="org.jasig.cas.adaptors.ldap.lppe.LdapPasswordExpirationPolicyExaminer"> <property name="ignorePasswordExpirationWarningFlags" value="${ldap.authentication.lppe.noWarnValues}" /> <property name="alwaysDisplayPasswordExpirationWarning" value="${ldap.authentication.lppe.warnAll}" /> <property name="ldapDateConverter"> <bean class="org.jasig.cas.adaptors.ldap.lppe.ActiveDirectoryLdapDateConverter" /> </property> </bean> </list> </property> <property name="accountDisabledAttributeName" value="${ldap.authentication.lppe.accountDisabledAttribute}" /> <property name="accountLockedAttributeName" value="${ldap.authentication.lppe.accountLockedAttribute}" /> <property name="accountPasswordMustChangeAttributeName" value="${ldap.authentication.lppe.accountPasswordMustChangeAttribute}" /> <property name="passwordExpirationDateAttributeName" value="${ldap.authentication.lppe.dateAttribute}" /> <property name="passwordWarningNumberOfDaysAttributeName" value="${ldap.authentication.lppe.warningDaysAttribute}" /> <property name="validPasswordNumberOfDaysAttributeName" value="${ldap.authentication.lppe.validDaysAttribute}" /> <property name="defaultValidPasswordNumberOfDays" value="${ldap.authentication.lppe.validDays}" /> <property name="defaultPasswordWarningNumberOfDays" value="${ldap.authentication.lppe.warningDays}" /> <property name="ignorePasswordExpirationWarningAttributeName" value="${ldap.authentication.lppe.noWarnAttribute}" /> <property name="passwordPolicyUrl" value="${ldap.authentication.lppe.password.url}" /> </bean> <bean id="authenticationViaFormAction" class="org.jasig.cas.adaptors.ldap.lppe.web.flow.LdapPasswordPolicyAwareAuthenticationViaFormAction" p:centralAuthenticationService-ref="centralAuthenticationService" p:warnCookieGenerator-ref="warnCookieGenerator" p:ldapPasswordPolicyAuthenticationHandler-ref="lppeEnabledLdapAuthenticationHandler" /> |
...