Copyright© 2008-2022 Sitevision AB, all rights reserved.
public class UserAttributeCallback extends Object implements Callback
JAAS callback for fetching user attributes from the directory.
Important legacy note! As of Sitevision 3 this class has been moved (from package senselogic.sitevision.security.jaas.callback.api). Previously implemented custom JAAS filters/modules using this class must be re-compiled in order to run in Sitevision 3.Constructor and Description |
---|
UserAttributeCallback(String aDn,
String aName)
Create a callback which fetches user attributes from the directory.
|
Modifier and Type | Method and Description |
---|---|
String |
getDn()
Gets the DN.
|
String |
getName()
Gets the attribute name.
|
String |
getString()
First value of requested attribute as a String.
|
List |
getValues()
Gets the the user attribute values list.
|
void |
setValue(List aValue)
Sets a list of user attribute values.
|
public String getDn()
public String getName()
public void setValue(List aValue)
aValue
- a list of user attribute values.public String getString()
null
if none was foundpublic List getValues()
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.