use of org.apache.openejb.spi.SecurityService in project tomee by apache.
the class HttpRequestImpl method login.
@Override
public void login(final String s, final String s1) throws ServletException {
final SecurityService component = SystemInstance.get().getComponent(SecurityService.class);
try {
final Object uuid = component.login(s, s1);
component.associate(uuid);
} catch (final LoginException e) {
throw new ServletException(e);
}
}
Aggregations