[jcifs] Re: restrict acces to serveral user
Brice Ruth
bruth at fiskars.com
Mon Mar 22 18:40:36 GMT 2004
Eric <eglass1 <at> comcast.net> writes:
> The rap branch overrides HttpServletRequest's isUserInRole() to check
> against the domain groups; so at the top of the jsp you could do:
>
> <%
> if (!request.isUserInRole("approle")) {
> response.sendError(HttpServletResponse.SC_FORBIDDEN);
> return;
> }
> %>
>
> Eric
So, is there some way I can test this out locally (without having to create
groups on our AD system?) Do I just point the filter at my local IP for
authentication and create groups on my local system?
TIA
Brice Ruth
More information about the jcifs
mailing list