1 28 29 package com.caucho.security; 30 31 import java.security.Principal ; 32 33 36 public interface SecurityContextProvider { 37 42 public Principal getUserPrincipal() 43 throws SecurityContextException; 44 45 50 public boolean isUserInRole(String roleName); 51 52 55 public boolean isTransportSecure() 56 throws SecurityContextException; 57 58 61 public void logout() 62 throws SecurityContextException; 63 } 64 | Popular Tags |