xdoclet.modules.ejb.dd

Class SecurityTagsHandler


public class SecurityTagsHandler
extends EjbTagsHandler

Version:
$Revision: 1.7 $
Author:
Ara Abrahamian (ara_e@email.com)
xdoclet.taghandler
namespace = "EjbSec"
created
Oct 15, 2001

Field Summary

protected String
currentSecurityRoleName
The current security role name, set by forAllSecurityRoles and returned by securityRoleName.

Method Summary

void
forAllSecurityRoles(String template)
Evaluates the body block for each ejb:permission defined in class level or method level.
String
securityRoleName()
Returns current security role name set by the containing forAllSecurityRoles.

Field Details

currentSecurityRoleName

protected String currentSecurityRoleName
The current security role name, set by forAllSecurityRoles and returned by securityRoleName. It somehow is like the current index for the forAllSecurityRoles loop.

Method Details

forAllSecurityRoles

public void forAllSecurityRoles(String template)
            throws xdoclet.XDocletException
Evaluates the body block for each ejb:permission defined in class level or method level.
Parameters:
template - The body of the block tag
Throws:
xdoclet.XDocletException -
doc.tag
type = "block"

securityRoleName

public String securityRoleName()
            throws xdoclet.XDocletException
Returns current security role name set by the containing forAllSecurityRoles.
Returns:
Current security role name
Throws:
xdoclet.XDocletException -
See Also:
forAllSecurityRoles(java.lang.String)
doc.tag
type = "content"