add module-info lines to use ServiceLoader with Authenticator.Factory
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
1b0e252a83
commit
089dd479c7
|
@ -16,6 +16,9 @@
|
|||
// ========================================================================
|
||||
//
|
||||
|
||||
import org.eclipse.jetty.security.Authenticator;
|
||||
import org.eclipse.jetty.security.jaspi.JaspiAuthenticatorFactory;
|
||||
|
||||
module org.eclipse.jetty.security.jaspi
|
||||
{
|
||||
exports org.eclipse.jetty.security.jaspi;
|
||||
|
@ -28,4 +31,6 @@ module org.eclipse.jetty.security.jaspi
|
|||
requires org.eclipse.jetty.security;
|
||||
requires org.eclipse.jetty.server;
|
||||
requires org.eclipse.jetty.util;
|
||||
|
||||
provides Authenticator.Factory with JaspiAuthenticatorFactory;
|
||||
}
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
// ========================================================================
|
||||
//
|
||||
|
||||
import org.eclipse.jetty.security.Authenticator;
|
||||
|
||||
module org.eclipse.jetty.security
|
||||
{
|
||||
exports org.eclipse.jetty.security;
|
||||
|
@ -30,4 +32,6 @@ module org.eclipse.jetty.security
|
|||
requires static java.sql;
|
||||
// Only required if using SPNEGO.
|
||||
requires static java.security.jgss;
|
||||
|
||||
uses Authenticator.Factory;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue