Copyright© 2008-2018 SiteVision AB, all rights reserved.
public class UserAttributeCallback
extends Object
implements javax.security.auth.callback.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.
|
java.util.List |
getValues()
Gets the the user attribute values list.
|
void |
setValue(java.util.List aValue)
Sets a list of user attribute values.
|
public UserAttributeCallback(String aDn, String aName)
aDn
- full DN for user in directoryaName
- name of attribute to getpublic String getDn()
public String getName()
public void setValue(java.util.List aValue)
aValue
- a list of user attribute values.public String getString()
null
if none was foundpublic java.util.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-2018 SiteVision AB, all rights reserved.