com.github.lontime.extpac4j.impl.JEETokenContext Maven / Gradle / Ivy
The newest version!
package com.github.lontime.extpac4j.impl;
import java.time.Duration;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.pac4j.core.context.JEEContext;
import org.pac4j.core.context.session.SessionStore;
/**
* JEETokenContext.
* @author lontime
* @since 1.0
*/
public class JEETokenContext extends JEEContext {
private String token;
private Duration expire;
private Object result;
public JEETokenContext(HttpServletRequest request, HttpServletResponse response) {
super(request, response);
}
public JEETokenContext(HttpServletRequest request, HttpServletResponse response, SessionStore sessionStore) {
super(request, response, sessionStore);
}
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public Duration getExpire() {
return expire;
}
public void setExpire(Duration expire) {
this.expire = expire;
}
public Object getResult() {
return result;
}
public void setResult(Object result) {
this.result = result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy