<%
/*
* Set authUser and authPass to be equal to the supplied
* username and password
*/
String authHeader = request.getHeader("Authorization");
String authUser = null;
String authPass = null;
if (authHeader != null && authHeader.substring(0,6).equalsIgnoreCase("Basic "))
{
String decoded = com.infoengine.util.Base64.decode(authHeader.substring(6).trim());
if (decoded != null)
{
int i = decoded.indexOf(":");
if (i != -1)
{
authUser = decoded.substring(0, i);
authPass = decoded.substring(i + 1);
}
}
}
%>
As far as your question, you can also access information in the group by
creating a com.infoengine.SAK.IeService object called "ie" like this...