Realm is used to implement secure data source information, which is first parsed as follows:
1. Get the Realm name
String getName();
2. Whether authentication is supported (if supported, return true; if not, return false)
boolean supports(AuthenticationToken token);
3. Obtain AuthenticationInfo information according to the token
AuthenticationInfo getAuthenticationInfo(AuthenticationToken token) throws AuthenticationException;