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
 Principal authenticate(String username, String password)
           
 boolean isUserInRoll(Principal username, String role)
           
 

Method Detail

authenticate

Principal authenticate(String username,
                       String password)
                       throws SecurityException
Throws:
SecurityException

isUserInRoll

boolean isUserInRoll(Principal username,
                     String role)


Copyright © 2012. All Rights Reserved.