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 EncodingSupport
public void encode(ActiveMQBuffer buffer)
encode
in interface EncodingSupport
public void decode(ActiveMQBuffer buffer)
decode
in interface EncodingSupport
Copyright © 2021 JBoss by Red Hat. All rights reserved.