Package org.ldaptive.props
Class AuthenticationRequestPropertyInvoker
- java.lang.Object
-
- org.ldaptive.props.AbstractPropertyInvoker
-
- org.ldaptive.props.AuthenticationRequestPropertyInvoker
-
- All Implemented Interfaces:
PropertyInvoker
public class AuthenticationRequestPropertyInvoker extends AbstractPropertyInvoker
Handles properties forAuthenticationRequest
.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationRequestPropertyInvoker(Class<?> c)
Creates a new authentication request property invoker for the supplied class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
convertValue(Class<?> type, String value)
Converts the supplied string value into an Object of the supplied type.-
Methods inherited from class org.ldaptive.props.AbstractPropertyInvoker
convertSimpleType, createArrayEnumFromPropertyValue, createArrayTypeFromPropertyValue, createClass, createTypeFromPropertyValue, getEnum, getProperties, hasProperty, initialize, instantiateType, invokeMethod, setProperty
-
-
-
-
Constructor Detail
-
AuthenticationRequestPropertyInvoker
public AuthenticationRequestPropertyInvoker(Class<?> c)
Creates a new authentication request property invoker for the supplied class.- Parameters:
c
- class that has setter methods
-
-
Method Detail
-
convertValue
protected Object convertValue(Class<?> type, String value)
Description copied from class:AbstractPropertyInvoker
Converts the supplied string value into an Object of the supplied type. If value cannot be converted it is returned as is.- Specified by:
convertValue
in classAbstractPropertyInvoker
- Parameters:
type
- of object to convert value intovalue
- to parse- Returns:
- object of the supplied type
-
-