Hi, basically what i want to know is from where does the method of EJBContext, getCallerPrincipal() return the principal from? I am using JAAS for WEB Server authentication. After authentication, i populate the Subject with more than 1 principals, out of which some are the roles the logged in user is allowed to play. In this case what would the getCallerPrincipal() method return me ?
Hi, Thanx buddy ... But can U just give some information about the tags U mention ... And also, currently I have some proto code, which passes the principal to the EJB Container while getting the Initial Context ... and i presume .. this is what the Container returns me thru the EntityContext or SessionContext .. am I right?
Eat that pie! EAT IT! Now read this tiny ad. READ IT!