|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.userdetails.ldap.LdapUserDetailsMapper
public class LdapUserDetailsMapper
The entry mapper used by the authenticators to create an ldap user object.
| Constructor Summary | |
|---|---|
LdapUserDetailsMapper()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
mapAttributes(java.lang.String dn,
javax.naming.directory.Attributes attributes)
|
void |
setConvertToUpperCase(boolean convertToUpperCase)
Determines whether role field values will be converted to upper case when loaded. |
void |
setPasswordAttributeName(java.lang.String passwordAttributeName)
The name of the attribute which contains the user's password. |
void |
setRoleAttributes(java.lang.String[] roleAttributes)
The names of any attributes in the user's entry which represent application roles. |
void |
setRolePrefix(java.lang.String rolePrefix)
The prefix that should be applied to the role names |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapUserDetailsMapper()
| Method Detail |
|---|
public java.lang.Object mapAttributes(java.lang.String dn,
javax.naming.directory.Attributes attributes)
throws javax.naming.NamingException
mapAttributes in interface LdapEntryMapperjavax.naming.NamingExceptionpublic void setConvertToUpperCase(boolean convertToUpperCase)
convertToUpperCase - true if the roles should be converted to upper case.public void setPasswordAttributeName(java.lang.String passwordAttributeName)
passwordAttributeName - the name of the attributepublic void setRoleAttributes(java.lang.String[] roleAttributes)
roleAttributes - the names of the role attributes.public void setRolePrefix(java.lang.String rolePrefix)
rolePrefix - the prefix (defaults to "ROLE_").
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||