Class DefaultSecurityManager

java.lang.Object
cloud.piranha.webapp.impl.DefaultSecurityManager
All Implemented Interfaces:
SecurityManager

public class DefaultSecurityManager extends Object implements SecurityManager
The default SecurityManager.

This security manager implies the use of DefaultWebApplicationRequest, if your server / web application does not want to use DefaultWebApplicationRequest or subclass DefaultWebApplicationRequest you have to implement your own security manager.

Author:
Manfred Riem ([email protected])
  • Field Details

    • denyUncoveredHttpMethods

      protected boolean denyUncoveredHttpMethods
      Stores if we are denying uncovered HTTP methods.
    • logins

      protected final HashMap<String,​String> logins
      Stores the logins.
    • roles

      protected ArrayList<String> roles
      Stores the roles.
    • userRoles

      protected final HashMap<String,​String[]> userRoles
      Stores the user roles.
    • webApplication

      protected WebApplication webApplication
      Stores the web application.
  • Constructor Details

    • DefaultSecurityManager

      public DefaultSecurityManager()
  • Method Details