org.acegisecurity.intercept.method
Class MethodDefinitionSourceMapping

java.lang.Object
  extended by org.acegisecurity.intercept.method.MethodDefinitionSourceMapping

public class MethodDefinitionSourceMapping
extends java.lang.Object

Configuration entry for MethodDefinitionSource, that holds the method to be protected and the ConfigAttributes as String that apply to that url.

Since:
1.1
Version:
$Id: MethodDefinitionSourceMapping.java 1595 2006-08-22 16:02:44Z carlossg $
Author:
Carlos Sanchez

Constructor Summary
MethodDefinitionSourceMapping()
           
 
Method Summary
 void addConfigAttribute(java.lang.String configAttribute)
          Add a ConfigAttribute as String
 java.util.List getConfigAttributes()
           
 java.lang.String getMethodName()
          Name of the method to be secured.
 void setConfigAttributes(java.util.List roles)
           
 void setMethodName(java.lang.String methodName)
          Name of the method to be secured, including package and class name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodDefinitionSourceMapping

public MethodDefinitionSourceMapping()
Method Detail

setMethodName

public void setMethodName(java.lang.String methodName)
Name of the method to be secured, including package and class name. eg. org.mydomain.MyClass.myMethod

Parameters:
methodName -

getMethodName

public java.lang.String getMethodName()
Name of the method to be secured.

Returns:
the name of the method

setConfigAttributes

public void setConfigAttributes(java.util.List roles)
Parameters:
roles - List<String>

getConfigAttributes

public java.util.List getConfigAttributes()
Returns:
List<String>

addConfigAttribute

public void addConfigAttribute(java.lang.String configAttribute)
Add a ConfigAttribute as String

Parameters:
configAttribute -


Copyright © 2004-2011 Interface21, Inc. All Rights Reserved.