Additional JaasSecurityManagerService access methods

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 570

This topic has not yet been written. The content below is from the topic description.
The security manager has a few additional access methods. public boolean isValid(String securityDomain, Principal principal, Object credential); public Principal getPrincipal(String securityDomain, Principal principal); public boolean doesUserHaveRole(String securityDomain, Principal principal, Object credential, Set roles); public Set getUserRoles(String securityDomain, Principal principal, Object credential); They provide access to the corresponding AuthenticationManager and RealmMapping interface method of the associated security domain named by the securityDomain argument.