Code example for Principal

Methods: getName

0
/*    */  
/*    */   public ServletAuthenticatedUser(HttpServletRequest req)
/*    */   { 
/* 38 */     this.req = req;
/* 39 */     Principal principal = req.getUserPrincipal();
/* 40 */     this.name = (principal == null ? null : principal.getName());
/*    */   } 
/*    */  
/*    */   public String getName()
/*    */   { 
/* 48 */     return this.name;
/*    */   } 
/*    */  
/*    */   public HttpServletRequest getRequest() 
/*    */   { 
/* 53 */     return this.req;
/*    */   } 
/*    */ } 
 
/* Location:           E:\Windows\Documents\flashdmp\New folder\ProjectFlashToolV0.01.jar 
 * Qualified Name:     org.apache.axis.security.servlet.ServletAuthenticatedUser