public interface Group extends Serializable
User
can be part of for the purpose of access control.
The default implementation of this group in Errai is GroupImpl
, but a different
implementation may be used so long as:
Portable
.
Object.equals(Object)
method (used to compare groups between
User
and a secured resource).
Object.hashCode()
method so that equal groups have the same hash.
(This is important if you use the default User
implementation, which stores groups in a
HashSet
.)String getName()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.