Impl class of Principal interface.
7677787980818283848586
} public void setUserInfo (UserInfo u) { this.user = u; this.principal = new JAASPrincipal(u.getUserName()); this.roles = new ArrayList(); if (u.getRoleNames() != null) { Iterator itor = u.getRoleNames().iterator(); while (itor.hasNext())