Class GlassFishSecurityProvider

  • All Implemented Interfaces:
    org.apache.felix.webconsole.WebConsoleSecurityProvider

    public class GlassFishSecurityProvider
    extends Object
    implements org.apache.felix.webconsole.WebConsoleSecurityProvider
    Author:
    [email protected], [email protected]
    • Constructor Detail

      • GlassFishSecurityProvider

        public GlassFishSecurityProvider()
    • Method Detail

      • 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