Class UserDetailsLdapMapper.GrantedAuthorityValueTranscoder
- java.lang.Object
-
- org.ldaptive.transcode.AbstractStringValueTranscoder<org.springframework.security.core.GrantedAuthority>
-
- org.bremersee.security.core.userdetails.UserDetailsLdapMapper.GrantedAuthorityValueTranscoder
-
- All Implemented Interfaces:
org.ldaptive.transcode.ValueTranscoder<org.springframework.security.core.GrantedAuthority>
- Enclosing class:
- UserDetailsLdapMapper
protected static class UserDetailsLdapMapper.GrantedAuthorityValueTranscoder extends org.ldaptive.transcode.AbstractStringValueTranscoder<org.springframework.security.core.GrantedAuthority>
The granted authority value transcoder.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description GrantedAuthorityValueTranscoder(boolean authorityDn, Map<String,String> authorityMap, String authorityPrefix)
Instantiates a new granted authority value transcoder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.GrantedAuthority
decodeStringValue(String value)
String
encodeStringValue(org.springframework.security.core.GrantedAuthority value)
Class<org.springframework.security.core.GrantedAuthority>
getType()
-
Methods inherited from class org.ldaptive.transcode.AbstractStringValueTranscoder
decodeBinaryValue, encodeBinaryValue
-
-
-
-
Constructor Detail
-
GrantedAuthorityValueTranscoder
public GrantedAuthorityValueTranscoder(boolean authorityDn, Map<String,String> authorityMap, String authorityPrefix)
Instantiates a new granted authority value transcoder.- Parameters:
authorityDn
- the authority dnauthorityMap
- the authority mapauthorityPrefix
- the authority prefix
-
-
Method Detail
-
decodeStringValue
public org.springframework.security.core.GrantedAuthority decodeStringValue(String value)
-
encodeStringValue
public String encodeStringValue(org.springframework.security.core.GrantedAuthority value)
-
getType
public Class<org.springframework.security.core.GrantedAuthority> getType()
-
-