Class Authentication

java.lang.Object
org.minimalj.security.Authentication
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UserPasswordAuthentication

public abstract class Authentication
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static interface  Authentication.LoginListener  
  • Constructor Summary

    Constructors 
    Constructor Description
    Authentication()  
  • Method Summary

    Modifier and Type Method Description
    static Authentication create()  
    Subject createSubject​(java.lang.String name, java.util.List<java.lang.String> roleNames)  
    Subject getUserByToken​(java.io.Serializable token)  
    abstract void login​(Authentication.LoginListener loginListener)  
    void logout()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait