org.apache.nutch.webui.pages.auth

## Class AuthorizationStrategy

- java.lang.Object
- - org.apache.nutch.webui.pages.auth.AuthorizationStrategy

- All Implemented Interfaces:
    org.apache.wicket.authorization.IAuthorizationStrategy

      public class AuthorizationStrategy
      extends java.lang.Object
      implements org.apache.wicket.authorization.IAuthorizationStrategy

  Authorization strategy to check whether to allow a page or not.

- - ### Field Summary

    - ### Fields inherited from interface org.apache.wicket.authorization.IAuthorizationStrategy

      `ALLOW_ALL`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuthorizationStrategy()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isActionAuthorized(org.apache.wicket.Component component, org.apache.wicket.authorization.Action action)`
    `boolean` | `isInstantiationAuthorized(java.lang.Class componentClass)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AuthorizationStrategy

          public AuthorizationStrategy()

  - ### Method Detail

    - #### isInstantiationAuthorized

          public boolean isInstantiationAuthorized(java.lang.Class componentClass)

      Specified by:
        `isInstantiationAuthorized` in interface `org.apache.wicket.authorization.IAuthorizationStrategy`

    - #### isActionAuthorized

          public boolean isActionAuthorized(org.apache.wicket.Component component,
                                            org.apache.wicket.authorization.Action action)

      Specified by:
        `isActionAuthorized` in interface `org.apache.wicket.authorization.IAuthorizationStrategy`

Copyright © 2019 The Apache Software Foundation