java.lang.Object
org.apache.jena.fuseki.main.JettySecurityLib
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.apache.jena.atlas.web.AuthSchemeCurrent auth modestatic final org.apache.jena.atlas.web.AuthSchemeDefault setting. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddPathConstraint(org.eclipse.jetty.ee10.servlet.security.ConstraintSecurityHandler securityHandler, String pathSpec) static org.eclipse.jetty.security.UserStorestatic org.eclipse.jetty.security.UserStoreMake aUserStorefor a single user,password,rolestatic org.eclipse.jetty.ee10.servlet.security.ConstraintSecurityHandlermakeSecurityHandler(String realm, org.eclipse.jetty.security.UserStore userStore) Create a JettySecurityHandlerfor basic authentication.static org.eclipse.jetty.ee10.servlet.security.ConstraintSecurityHandlermakeSecurityHandler(String realm, org.eclipse.jetty.security.UserStore userStore, org.apache.jena.atlas.web.AuthScheme authMode) Create a JettySecurityHandlerfor basic authentication.static org.eclipse.jetty.ee10.servlet.security.ConstraintSecurityHandlermakeSecurityHandler$(String realm, org.eclipse.jetty.security.UserStore userStore, org.apache.jena.atlas.web.AuthScheme authMode) Create a JettySecurityHandlerfor basic authentication.static org.eclipse.jetty.security.SecurityHandlermakeSecurityHandlerForPathspec(String pathSpec, String realm, org.eclipse.jetty.security.UserStore userStore) Create a JettySecurityHandlerfor a specific pathSpace, e.g/database.static org.eclipse.jetty.security.UserStoremakeUserStore(String passwordFile) Make aUserStorefrom a password file.static org.eclipse.jetty.security.UserStoremakeUserStore(String user, String password) Make aUserStorefor a single user, password in any role. 
- 
Field Details
- 
dftAuthMode
public static final org.apache.jena.atlas.web.AuthScheme dftAuthModeDefault setting. - 
authMode
public static org.apache.jena.atlas.web.AuthScheme authModeCurrent auth mode 
 - 
 - 
Constructor Details
- 
JettySecurityLib
public JettySecurityLib() 
 - 
 - 
Method Details
- 
makeSecurityHandlerForPathspec
public static org.eclipse.jetty.security.SecurityHandler makeSecurityHandlerForPathspec(String pathSpec, String realm, org.eclipse.jetty.security.UserStore userStore) Create a JettySecurityHandlerfor a specific pathSpace, e.g/database. - 
makeSecurityHandler
public static org.eclipse.jetty.ee10.servlet.security.ConstraintSecurityHandler makeSecurityHandler(String realm, org.eclipse.jetty.security.UserStore userStore) Create a JettySecurityHandlerfor basic authentication. See addPathConstraint(ConstraintSecurityHandler, String) for adding thepathspecto apply it to. - 
makeSecurityHandler
public static org.eclipse.jetty.ee10.servlet.security.ConstraintSecurityHandler makeSecurityHandler(String realm, org.eclipse.jetty.security.UserStore userStore, org.apache.jena.atlas.web.AuthScheme authMode) Create a JettySecurityHandlerfor basic authentication. See addPathConstraint(ConstraintSecurityHandler, String) for adding thepathspecto apply it to. - 
makeSecurityHandler$
public static org.eclipse.jetty.ee10.servlet.security.ConstraintSecurityHandler makeSecurityHandler$(String realm, org.eclipse.jetty.security.UserStore userStore, org.apache.jena.atlas.web.AuthScheme authMode) Create a JettySecurityHandlerfor basic authentication. See addPathConstraint(ConstraintSecurityHandler, String) for adding thepathspecto apply it to. - 
addPathConstraint
public static void addPathConstraint(org.eclipse.jetty.ee10.servlet.security.ConstraintSecurityHandler securityHandler, String pathSpec)  - 
makeUserStore
Make aUserStorefrom a password file.PropertyUserStorefor details. - 
makeUserStore
Make aUserStorefor a single user, password in any role. - 
addUser
 - 
addUser
public static org.eclipse.jetty.security.UserStore addUser(org.eclipse.jetty.security.UserStore userStore, String user, String password, String role) Make aUserStorefor a single user,password,role 
 -