public interface SecurityRealmInterface
Modifier and Type | Method and Description |
---|---|
Principal |
authenticate(String username,
String password)
Authenticate a user.
|
boolean |
isUserInRole(Principal principal,
String rolename)
Test for role membership.
|
Principal authenticate(String username, String password)
username
- a usernamepassword
- a plain text password, as entered by the userboolean isUserInRole(Principal principal, String rolename)
principal
- Principal object representing a userrolename
- name of a role to test for membershipCopyright © 2020 B3Partners B.V.. All rights reserved.