UsernamePrincipal implements Serializable ?

Cantor, Scott cantor.2 at osu.edu
Thu Jul 18 16:26:16 EDT 2013


> "Note that the java.security.Principal class does not implement
> Serializable. Therefore all concrete Principal implementations
> associated with Subjects must implement Serializable."

Yeah, though I think at the end of the day that depends on actually wanting to serialize Subject.

-- Scott





More information about the dev mailing list