configureOrParameterize(Component component, Configuration configuration) Configures or parameterizes a component, depending on the implementation
as Configurable or Parameterizable.
hasAuthorizers() Returns if this action has authorizers.
protected boolean
hasValidIdentity(Session session) Checks if the session contains an identity that is not null and belongs
to the used access controller.
Parameters: session - The current session.
public void configure(Configuration conf) throws ConfigurationException(Code)
See Also: org.apache.avalon.framework.configuration.Configurable.configure(org.apache.avalon.framework.configuration.Configuration)
configureOrParameterize
public static void configureOrParameterize(Component component, Configuration configuration) throws ConfigurationException, ParameterException(Code)
Configures or parameterizes a component, depending on the implementation
as Configurable or Parameterizable.
Parameters: component - The component. Parameters: configuration - The configuration to use. throws: ConfigurationException - when an error occurs during configuration. throws: ParameterException - when an error occurs during parameterization.
Checks if the session contains an identity that is not null and belongs
to the used access controller.
Parameters: session - The current session. A boolean value. throws: AccessControlException - when something went wrong.
Checks if this identity was initialized by this access controller.
Parameters: identity - An identity. A boolean value. throws: AccessControlException - when something went wrong.
Creates the accreditable manager.
Parameters: configuration - The access controller configuration. throws: ConfigurationException - when the configuration failed. throws: ServiceException - when something went wrong. throws: ParameterException - when something went wrong.
Creates the authorizers.
Parameters: configuration - The access controller configuration. throws: ConfigurationException - when the configuration failed. throws: ServiceException - when something went wrong. throws: ParameterException - when something went wrong.
Creates the policy manager.
Parameters: configuration - The access controller configuration. throws: ConfigurationException - when the configuration failed. throws: ServiceException - when something went wrong. throws: ParameterException - when something went wrong.