org.jboss.resteasy.plugins.server.embedded
Interface SecurityDomain
- All Known Implementing Classes:
- SimpleSecurityDomain
public interface SecurityDomain
Simple plugin to provide authentication/authorization to embedded implementations
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Method Summary |
java.security.Principal |
authenticate(java.lang.String username,
java.lang.String password)
|
boolean |
isUserInRoll(java.security.Principal username,
java.lang.String role)
|
authenticate
java.security.Principal authenticate(java.lang.String username,
java.lang.String password)
throws java.lang.SecurityException
- Throws:
java.lang.SecurityException
isUserInRoll
boolean isUserInRoll(java.security.Principal username,
java.lang.String role)
Copyright © 2010. All Rights Reserved.