Enum Class AuthenticationPlugin.DebugOption

java.lang.Object
java.lang.Enum<AuthenticationPlugin.DebugOption>
io.mats3.matssocket.AuthenticationPlugin.DebugOption
All Implemented Interfaces:
Serializable, Comparable<AuthenticationPlugin.DebugOption>, Constable
Enclosing interface:
AuthenticationPlugin

public static enum AuthenticationPlugin.DebugOption extends Enum<AuthenticationPlugin.DebugOption>
These bit-field enums (bit-field) is used by the Client to request different types of debug/meta information from Server-side, and used by the AuthenticationPlugin to tell the MatsSocketServer which types of information the specific user is allowed to request - the resulting debug/meta information provided is the intersection of the requested + allowed.

In addition to the functionality from the MatsSocket system, there is two "Custom Options" (CUSTOM_A and CUSTOM_B) that are not employed by the MatsSocket system, but instead can be utilized and given meaning by the MatsSocket employing service/application. Notice, however: You might be just as well off by implementing such functionality on the Principal returned by the AuthenticationPlugin ("this user is allowed to request these things") - and on the request DTOs from the Client ("I would like to request these things").