public class AuthenticationUserDetailsAdapter extends Object implements Authentication
UserDetails
to Authentication
.Constructor and Description |
---|
AuthenticationUserDetailsAdapter(UserDetails userDetails)
Deprecated.
|
AuthenticationUserDetailsAdapter(UserDetails userDetails,
String rolesKey) |
public AuthenticationUserDetailsAdapter(UserDetails userDetails, String rolesKey)
userDetails
- Authenticated user's representation.rolesKey
- The key name that should used to store the roles@Deprecated public AuthenticationUserDetailsAdapter(UserDetails userDetails)
userDetails
- Authenticated user's representation.public Map<String,Object> getAttributes()
getAttributes
in interface Authentication