hs.hsadmin.jee/authorization/src/main/java/de/hsadmin/login/RequestContext.java

22 lines
368 B
Java
Raw Normal View History

2016-06-10 19:34:43 +02:00
package de.hsadmin.login;
public class RequestContext {
private final String runAsLogin;
private final Role runAsRole;
public RequestContext(final String runAs, final Role runAsRole) {
this.runAsLogin = runAs;
this.runAsRole = runAsRole;
}
public String getLoginUser() {
return runAsLogin;
}
public Role getLoginRole() {
return runAsRole;
}
}