Top Description Methods
javax.portlet.annotations

public @Interface SecurityRoleRef

extends Annotation
Annotations
@Retention:RUNTIME
@Target:ANNOTATION_TYPE
Imports
java.lang.annotation.Retention, .Target

This annotation is used within composite portlet configuration annotations to represent a single security role reference. It cannot be used as a stand-alone portlet annotation.
Since
3.0

Method Summary

Modifier and TypeMethod and Description
public LocaleString[]

Returns:

The security role reference description
description
()

The security role ref description.
public String

Returns:

The role name
roleName
()

The role name.
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

descriptionback to summary
public LocaleString[] description()

The security role ref description. It provides locale-specific text describing the security role ref for use by the portal application or by tools.
Returns:LocaleString[]

The security role reference description

roleNameback to summary
public String roleName()

The role name.
Returns:String

The role name