org.jboss.system
Interface RealmMapping
- All Known Implementing Classes:
- CacheRealmMapping, DatabaseRealmMapping, JaasSecurityManager, SimpleRealmMapping
- public interface RealmMapping
Method Summary |
boolean |
doesUserHaveRole(java.security.Principal principal,
java.util.Set roleNames)
This method checks if the given ("original") Principal has
at least on of the roles in the given set. |
java.security.Principal |
getPrincipal(java.security.Principal principal)
This method should return Principal for the bean that may differ
from the original Principal in the operational environment. |
getPrincipal
public java.security.Principal getPrincipal(java.security.Principal principal)
- This method should return Principal for the bean that may differ
from the original Principal in the operational environment.
doesUserHaveRole
public boolean doesUserHaveRole(java.security.Principal principal,
java.util.Set roleNames)
- This method checks if the given ("original") Principal has
at least on of the roles in the given set.
Copyright © 2000 The jBoss Organization. All Rights Reserved.