java.lang.Object | |
↳ | com.cenqua.crucible.model.Principal.Anonymous |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ANON |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check whether a given principal represents ANON -- either by being null or
by being equal to ANON.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.cenqua.crucible.model.Principal
|
Check whether a given principal represents ANON -- either by being null or by being equal to ANON. As Principal is implemented by classes which use the convention of being null if the current user is anonymous, comparing a concrete Principal with ANON via equals() is unsafe.