public class SimpleGrantedAuthorityStringConverter extends Object implements javax.persistence.AttributeConverter<org.springframework.security.core.authority.SimpleGrantedAuthority,String>
Constructor and Description |
---|
SimpleGrantedAuthorityStringConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convertToDatabaseColumn(org.springframework.security.core.authority.SimpleGrantedAuthority attribute) |
org.springframework.security.core.authority.SimpleGrantedAuthority |
convertToEntityAttribute(String dbData) |
public SimpleGrantedAuthorityStringConverter()
public String convertToDatabaseColumn(org.springframework.security.core.authority.SimpleGrantedAuthority attribute)
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<org.springframework.security.core.authority.SimpleGrantedAuthority,String>
public org.springframework.security.core.authority.SimpleGrantedAuthority convertToEntityAttribute(String dbData)
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<org.springframework.security.core.authority.SimpleGrantedAuthority,String>
Copyright © 2018. All rights reserved.