|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
.
Migrated from Spring Security 2 since it has been removed in Spring Security 3.
Method Summary | |
---|---|
org.springframework.security.core.userdetails.UserDetails |
getUserDetails(X509Certificate userCertificate)
Obtains the granted authorities for the specified user. |
Method Detail |
---|
org.springframework.security.core.userdetails.UserDetails getUserDetails(X509Certificate userCertificate) throws org.springframework.security.core.AuthenticationException
May throw any
AuthenticationException
or return null
if the authorities are unavailable.
userCertificate
- the X.509 certificate supplied
org.springframework.security.core.AuthenticationException
- if the user details are not available or the certificate isn't valid for the
application's purpose.
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |