org.acegisecurity.providers.ldap
Interface LdapAuthoritiesPopulator

All Known Implementing Classes:
DefaultLdapAuthoritiesPopulator

public interface LdapAuthoritiesPopulator

Obtains a list of granted authorities for an Ldap user.

Used by the LdapAuthenticationProvider once a user has been authenticated to create the final user details object.

Version:
$Id: LdapAuthoritiesPopulator.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Luke Taylor

Method Summary
 GrantedAuthority[] getGrantedAuthorities(LdapUserDetails userDetails)
          Get the list of authorities for the user.
 

Method Detail

getGrantedAuthorities

GrantedAuthority[] getGrantedAuthorities(LdapUserDetails userDetails)
                                         throws LdapDataAccessException
Get the list of authorities for the user.

Parameters:
userDetails - the user details object which was returned by the LDAP authenticator.
Returns:
the granted authorities for the given user.
Throws:
LdapDataAccessException - if there is a problem accessing the directory.


Copyright © 2004-2011 Interface21, Inc. All Rights Reserved.