Class PersistedRole
- java.lang.Object
-
- org.apache.activemq.artemis.core.persistence.config.PersistedRole
-
- All Implemented Interfaces:
EncodingSupport
public class PersistedRole extends Object implements EncodingSupport
-
-
Constructor Summary
Constructors Constructor Description PersistedRole()PersistedRole(String username, List<String> roles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(ActiveMQBuffer buffer)voidencode(ActiveMQBuffer buffer)intgetEncodeSize()List<String>getRoles()longgetStoreId()StringgetUsername()voidsetStoreId(long id)StringtoString()
-
-
-
Method Detail
-
setStoreId
public void setStoreId(long id)
-
getStoreId
public long getStoreId()
-
getUsername
public String getUsername()
-
getEncodeSize
public int getEncodeSize()
- Specified by:
getEncodeSizein interfaceEncodingSupport
-
encode
public void encode(ActiveMQBuffer buffer)
- Specified by:
encodein interfaceEncodingSupport
-
decode
public void decode(ActiveMQBuffer buffer)
- Specified by:
decodein interfaceEncodingSupport
-
-