You could get the Subject from the SecurityContext and use the subject's members like public credentials to store the information as in:
SecurityContext.getCurrent().getSubject().getPublicCredentials().add("company");
HTH
Nithya
[Message sent by forum member 'nitkal' (nitkal)]
http://forums.java.net/jive/thread.jspa?messageID=335980