Class GlassFishSecurityProvider

java.lang.Object
org.glassfish.osgi.felixwebconsoleextension.GlassFishSecurityProvider
All Implemented Interfaces:
org.apache.felix.webconsole.WebConsoleSecurityProvider

public class GlassFishSecurityProvider extends Object implements org.apache.felix.webconsole.WebConsoleSecurityProvider
Author:
tangyong@cn.fujitsu.com, sanjeeb.sahoo@oracle.com
  • Constructor Details

    • GlassFishSecurityProvider

      public GlassFishSecurityProvider()
  • Method Details

    • setBundleContext

      public void setBundleContext(org.osgi.framework.BundleContext context)
    • authenticate

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

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