PicketBox libraries are not included in AS 5.x. Only the security-spi.jar and jbosssx.jar come shipped. There is no picketbox.jar
So you have two options:
- Bring in the PicketBox dependencies to replace the 2 jars in AS 5.1
- Have an attribute called securityManagement (that will inject an ISecurityManagement instance via the MC). From the ISecurityManagement interface, you can get hold of the AuthenticationManager, AuthorizationManager etc interfaces
Remember, in JBAS, you do not need to explicitly load any configuration. You can always rely on the security domain configuration provided by the AS.