Method Summary |
|
public void | setup() Creates the stateful bean used during the tests. |
public void | testAllowedRolesWithOneRole() Verifies if the container does not permit that a bean can call a method
in which it has the access denied. |
public void | testAllowedRolesWithTwoRoles() Verifies if a method with the allowsRoles annotation can be called by a
bean that is defined in the annotation. |
public void | testDenyAll() Verifies if it is not possible call a method with denyAll annotation. |
public void | testPermitAll() Verifies if it is possible to call a method with permitAll annotation. |