use of se.inera.intyg.infra.security.common.model.RequestOrigin in project webcert by sklintyg.
the class TakServiceImplTest method createRequestOrigin.
private RequestOrigin createRequestOrigin(String name, List<String> intygstyper) {
RequestOrigin o = new RequestOrigin();
o.setName(name);
o.setIntygstyper(intygstyper);
return o;
}
use of se.inera.intyg.infra.security.common.model.RequestOrigin in project webcert by sklintyg.
the class BaseCreateDraftCertificateTest method createPrivilege.
private Privilege createPrivilege(String privilege) {
Privilege priv = new Privilege();
priv.setName(privilege);
RequestOrigin requestOrigin = new RequestOrigin();
requestOrigin.setName(UserOriginType.DJUPINTEGRATION.name());
requestOrigin.setIntygstyper(Arrays.asList(FK7263, TSBAS));
priv.setRequestOrigins(Arrays.asList(requestOrigin));
priv.setIntygstyper(Arrays.asList(FK7263, TSBAS));
return priv;
}
Aggregations