}
@Override
public AuthToken validateToken(String tenant, String userToken) { //this is where we ask auth service if token is valid
OpenStackToken token = null;
ServiceClientResponse<AuthenticateResponse> serviceResponse = validateUser(userToken, tenant, false);
<BUG>for (Role role : serviceResponse.getEntity().getUser().getRoles().getRole()) {
if (/*adminRoles.contains(role.getName())*/role.getName().equals("")) {
} else {
}
}</BUG>
switch (HttpStatusCode.fromInt(serviceResponse.getStatusCode())) {

}
request.setCredential(jaxbCredentials);
this.jaxbRequest = objectFactory.createAuth(request);
}
@Override
public AuthToken validateToken(String tenant, String userToken) { //this is where we ask auth service if token is valid
OpenStackToken token = null;
ServiceClientResponse<AuthenticateResponse> serviceResponse = validateUser(userToken, tenant, false);
switch (HttpStatusCode.fromInt(serviceResponse.getStatusCode())) {
