Realm.supports

Returns <tt>true</tt> if this realm wishes to authenticate the Subject represented by the given {@link hunt.shiro.authc.AuthenticationToken AuthenticationToken} instance, <tt>false</tt> otherwise.

<p>If this method returns <tt>false</tt>, it will not be called to authenticate the Subject represented by the token - more specifically, a <tt>false</tt> return value means this Realm instance's {@link #getAuthenticationInfo} method will not be invoked for that token.

@param token the AuthenticationToken submitted for the authentication attempt @return <tt>true</tt> if this realm can/will authenticate Subjects represented by specified token, <tt>false</tt> otherwise.

interface Realm
bool
supports

Meta