...
Code Block |
---|
public interface Identity extends Serializable { public enum AuthenticationResult { successSUCCESS, failedFAILED, exception //TODO discuss upper- or lower-caseEXCEPTION } boolean isLoggedIn(); User getUser(); AuthenticationResult login(); void logout(); } |
...