Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2.ognl
Class SecurityMemberAccess

    java.lang.Object
      ognl.DefaultMemberAccess
          com.opensymphony.xwork2.ognl.SecurityMemberAccess

All Implemented Interfaces:
  ognl.MemberAccess

    public class SecurityMemberAccess

extends ognl.DefaultMemberAccess

Allows access decisions to be made on the basis of whether a member is static or not. Also blocks or allows access to properties.

Field Summary

Fields inherited from class ognl.DefaultMemberAccess
`allowPackageProtectedAccess, allowPrivateAccess, allowProtectedAccess`

Constructor Summary
`SecurityMemberAccess(boolean method)`

Method Summary
`boolean` | `getAllowStaticMethodAccess()`
`protected boolean` | `isAcceptableProperty(java.lang.String name)`
`protected boolean` | `isAccepted(java.lang.String paramName)`
`boolean` | `isAccessible(java.util.Map context, java.lang.Object target, java.lang.reflect.Member member, java.lang.String propertyName)`
`protected boolean` | `isExcluded(java.lang.String paramName)`
`void` | `setAcceptProperties(java.util.Set<java.util.regex.Pattern> acceptedProperties)`
`void` | `setAllowStaticMethodAccess(boolean allowStaticMethodAccess)`
`void` | `setExcludeProperties(java.util.Set<java.util.regex.Pattern> excludeProperties)`

Methods inherited from class ognl.DefaultMemberAccess
`getAllowPackageProtectedAccess, getAllowPrivateAccess, getAllowProtectedAccess, restore, setAllowPackageProtectedAccess, setAllowPrivateAccess, setAllowProtectedAccess, setup`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SecurityMemberAccess

    public SecurityMemberAccess(boolean method)

Method Detail

### getAllowStaticMethodAccess

    public boolean getAllowStaticMethodAccess()

### setAllowStaticMethodAccess

    public void setAllowStaticMethodAccess(boolean allowStaticMethodAccess)

### isAccessible

    public boolean isAccessible(java.util.Map context,
                                java.lang.Object target,
                                java.lang.reflect.Member member,
                                java.lang.String propertyName)

  Specified by:
    `isAccessible` in interface `ognl.MemberAccess`
  Overrides:
    `isAccessible` in class `ognl.DefaultMemberAccess`

### isAcceptableProperty

    protected boolean isAcceptableProperty(java.lang.String name)

### isAccepted

    protected boolean isAccepted(java.lang.String paramName)

### isExcluded

    protected boolean isExcluded(java.lang.String paramName)

### setExcludeProperties

    public void setExcludeProperties(java.util.Set<java.util.regex.Pattern> excludeProperties)

### setAcceptProperties

    public void setAcceptProperties(java.util.Set<java.util.regex.Pattern> acceptedProperties)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.