Search in sources :

Example 16 with LoginService

use of org.eclipse.jetty.security.LoginService in project cxf by apache.

the class DigestServer method configureServer.

private void configureServer() throws Exception {
    URL resource = getClass().getResource("jetty-realm.properties");
    LoginService realm = new HashLoginService("BookStoreRealm", resource.toString());
    server.addBean(realm);
}
Also used : HashLoginService(org.eclipse.jetty.security.HashLoginService) URL(java.net.URL) HashLoginService(org.eclipse.jetty.security.HashLoginService) LoginService(org.eclipse.jetty.security.LoginService)

Aggregations

LoginService (org.eclipse.jetty.security.LoginService)16 HashLoginService (org.eclipse.jetty.security.HashLoginService)5 ConstraintMapping (org.eclipse.jetty.security.ConstraintMapping)4 ConstraintSecurityHandler (org.eclipse.jetty.security.ConstraintSecurityHandler)4 IdentityService (org.eclipse.jetty.security.IdentityService)4 ServerAuthException (org.eclipse.jetty.security.ServerAuthException)4 UserAuthentication (org.eclipse.jetty.security.UserAuthentication)4 Authentication (org.eclipse.jetty.server.Authentication)4 Constraint (org.eclipse.jetty.util.security.Constraint)4 File (java.io.File)3 URL (java.net.URL)2 Connector (org.eclipse.jetty.ant.types.Connector)2 SecurityHandler (org.eclipse.jetty.security.SecurityHandler)2 BasicAuthenticator (org.eclipse.jetty.security.authentication.BasicAuthenticator)2 Server (org.eclipse.jetty.server.Server)2 WebAppContext (org.eclipse.jetty.webapp.WebAppContext)2 FileOutputStream (java.io.FileOutputStream)1 ArrayList (java.util.ArrayList)1 PamConstraint (org.apache.hive.http.security.PamConstraint)1 PamConstraintMapping (org.apache.hive.http.security.PamConstraintMapping)1