Active Directory

Table of Contents
Home
Overall Architecture
Authentication
Authentication Managers
Security Policy
TicketRegistry
Testing
Protocols
Advanced Features
Tutorials and HOWTOs
Troubleshooting
Services Management
Extensions

To authenticate users to MS Active Directory both the LDAP interface and the Kerberos interface can be used. See the relevant sections in this manual for more details:

The advantage of configuring SPNEGO is that users that are logged in to the AD domain will be logged in automatically at CAS, without any interaction asking for the password yet again. Note that this may not be desirable.

Example Configuration for FastBind and Active Directory

<bean class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" >
   <property name="filter" value="%u@domainname.tld" />
   <property name="contextSource" ref="contextSource" />
   <property name="ignorePartialResultException" value="yes" />
</bean>

<bean id="contextSource"
class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
   <property name="urls">
       <list>
           <value>ldap://adserver</value>
       </list>
   </property>
</bean>

The example uses something called User Principal Name (UPN) in filter. The full Distinguished Name (DN) was CN=LastName\,
FirstName,OU=Users,DC=domainname,DC=tld.

Labels

draft draft Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.