Interface HttpSecurableBuilder

All Known Implementing Classes:
AbstractHttpSecurable

public interface HttpSecurableBuilder
Interface for HttpSecurer to correspond with the HttpSecurable.
Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addRequiredRole(String requiredRole)
    Adds to listing of required roles that must have all for access.
    void
    addRole(String anyRole)
    Adds to listing of roles that must have at least one for access.
    void
    setHttpSecurityName(String httpSecurityName)
    Specifies the particular HttpSecurity.
  • Method Details

    • setHttpSecurityName

      void setHttpSecurityName(String httpSecurityName)
      Specifies the particular HttpSecurity.
      Parameters:
      httpSecurityName - Name of the HttpSecurity to use.
    • addRole

      void addRole(String anyRole)
      Adds to listing of roles that must have at least one for access.
      Parameters:
      anyRole - Any role.
    • addRequiredRole

      void addRequiredRole(String requiredRole)
      Adds to listing of required roles that must have all for access.
      Parameters:
      requiredRole - Required roles.