public class PersistedRole extends Object implements EncodingSupport
| Constructor and Description |
|---|
PersistedRole() |
PersistedRole(String username,
List<String> roles) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ActiveMQBuffer buffer) |
void |
encode(ActiveMQBuffer buffer) |
int |
getEncodeSize() |
List<String> |
getRoles() |
long |
getStoreId() |
String |
getUsername() |
void |
setStoreId(long id) |
String |
toString() |
public void setStoreId(long id)
public long getStoreId()
public String getUsername()
public int getEncodeSize()
getEncodeSize in interface EncodingSupportpublic void encode(ActiveMQBuffer buffer)
encode in interface EncodingSupportpublic void decode(ActiveMQBuffer buffer)
decode in interface EncodingSupportCopyright © 2021 JBoss by Red Hat. All rights reserved.