Class SecurityProviderImpl

java.lang.Object
org.idempiere.felix.webconsole.SecurityProviderImpl
All Implemented Interfaces:
org.apache.felix.webconsole.WebConsoleSecurityProvider, org.apache.felix.webconsole.WebConsoleSecurityProvider2, org.apache.felix.webconsole.WebConsoleSecurityProvider3

public class SecurityProviderImpl extends Object implements org.apache.felix.webconsole.WebConsoleSecurityProvider3
Author:
hengsin
  • Constructor Details

    • SecurityProviderImpl

      public SecurityProviderImpl()
  • Method Details

    • authenticate

      public Object authenticate(String username, String password)
      Specified by:
      authenticate in interface org.apache.felix.webconsole.WebConsoleSecurityProvider
    • authorize

      public boolean authorize(Object resource, String role)
      Specified by:
      authorize in interface org.apache.felix.webconsole.WebConsoleSecurityProvider
    • authenticate

      public boolean authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Specified by:
      authenticate in interface org.apache.felix.webconsole.WebConsoleSecurityProvider2
    • logout

      public void logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Specified by:
      logout in interface org.apache.felix.webconsole.WebConsoleSecurityProvider3