Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.acegisecurity.providers.x509
Interface X509AuthoritiesPopulator

All Known Implementing Classes:
  DaoX509AuthoritiesPopulator

    public interface X509AuthoritiesPopulator

Populates the `UserDetails` associated with the X.509 certificate presented by a client.

Although the certificate will already have been validated by the web container, implementations may choose to perform additional application-specific checks on the certificate content here. If an implementation chooses to reject the certificate, it should throw a `BadCredentialsException`.

Author:
  Luke

Method Summary
`UserDetails` | `getUserDetails(X509Certificate userCertificate)` Obtains the granted authorities for the specified user.

Method Detail

### getUserDetails

    UserDetails getUserDetails(X509Certificate userCertificate)
                               throws AuthenticationException

  Obtains the granted authorities for the specified user.

  May throw any `AuthenticationException` or return `null` if the authorities are unavailable.

  Parameters:
    `userCertificate` - the X.509 certificate supplied
  Returns:
    the details of the indicated user (at minimum the granted authorities and the username)
  Throws:
    `AuthenticationException` - if the user details are not available or the certificate isn't valid for the application's purpose.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.