Class ContextMapperCallbackHandlerWithControls
- java.lang.Object
-
- org.springframework.ldap.core.CollectingNameClassPairCallbackHandler<T>
-
- org.springframework.ldap.core.ContextMapperCallbackHandler
-
- org.springframework.ldap.core.simple.ContextMapperCallbackHandlerWithControls
-
- All Implemented Interfaces:
NameClassPairCallbackHandler
public class ContextMapperCallbackHandlerWithControls extends ContextMapperCallbackHandler
Deprecated.useContextMapperCallbackHandlerWithControls
instead.Currently only per request controls can be inspected via the post process method on a context processor. If a request control gives a different value for each search result, then this cannot be inspected using the existing support classes. An example control that requires this feature would be 1.3.6.1.4.1.42.2.27.9.5.8 Account usability control, that can be used with for example the Sun ONE or the OpenDS directory servers. The extended callback handler can pass hasControls to mapper.
-
-
Constructor Summary
Constructors Constructor Description ContextMapperCallbackHandlerWithControls(ParameterizedContextMapperWithControls<?> mapper)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
getObjectFromNameClassPair(javax.naming.NameClassPair nameClassPair)
Deprecated.Cast the NameClassPair to aBinding
and pass its object to the ContextMapper.-
Methods inherited from class org.springframework.ldap.core.CollectingNameClassPairCallbackHandler
getList, handleNameClassPair
-
-
-
-
Constructor Detail
-
ContextMapperCallbackHandlerWithControls
public ContextMapperCallbackHandlerWithControls(ParameterizedContextMapperWithControls<?> mapper)
Deprecated.
-
-
Method Detail
-
getObjectFromNameClassPair
public java.lang.Object getObjectFromNameClassPair(javax.naming.NameClassPair nameClassPair)
Deprecated.Description copied from class:ContextMapperCallbackHandler
Cast the NameClassPair to aBinding
and pass its object to the ContextMapper.- Overrides:
getObjectFromNameClassPair
in classContextMapperCallbackHandler
- Parameters:
nameClassPair
- a Binding instance.- Returns:
- the Object returned from the mapper.
-
-