org.nustaq.kontraktor.weblication.BasicAuthenticationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kontraktor-web Show documentation
Show all versions of kontraktor-web Show documentation
webapp utils/framework for kontraktor
The newest version!
package org.nustaq.kontraktor.weblication;
import java.io.Serializable;
/**
* Created by ruedi on 07.07.17.
*/
public class BasicAuthenticationResult implements Serializable {
protected String userKey;
protected Object initialData; // set after loadSession
public String getUserKey() {
return userKey;
}
public BasicAuthenticationResult userName(String userName) {
this.userKey = userName;
return this;
}
/**
* contains result of loadSession (and is filled just after that)
* @return
*/
public Object getInitialData() {
return initialData;
}
public BasicAuthenticationResult initialData(final Object sessionInitResult) {
this.initialData = sessionInitResult;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy