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

## org.jboss.portal.cms.security
Class CMSPermission

    java.lang.Object
      java.security.Permission
          org.jboss.portal.security.PortalPermission
              org.jboss.portal.cms.security.CMSPermission

All Implemented Interfaces:
  java.io.Serializable, java.security.Guard

    public class CMSPermission

extends org.jboss.portal.security.PortalPermission

Created on : Jan 23, 2007

Author:
  Sohil Shah - sohil.shah@jboss.com
See Also:
  Serialized Form

Field Summary

Fields inherited from class org.jboss.portal.security.PortalPermission
`collection, uri`

Constructor Summary
`CMSPermission(PortalCMSSecurityContext securityContext)`
`CMSPermission(java.lang.String name, java.lang.String uri)`

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`java.lang.String` | `getActions()`
`PortalCMSSecurityContext` | `getSecurityContext()`
`java.lang.String` | `getType()`
`int` | `hashCode()`
`boolean` | `implies(java.security.Permission permission)`
`boolean` | `implies(org.jboss.portal.security.spi.provider.PermissionRepository repository, javax.security.auth.Subject caller, java.lang.String roleName, org.jboss.portal.security.PortalPermission permission)`

Methods inherited from class org.jboss.portal.security.PortalPermission
`getURI, isContainer, newPermissionCollection`

Methods inherited from class java.security.Permission
`checkGuard, getName, toString`

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

Constructor Detail

### CMSPermission

    public CMSPermission(java.lang.String name,
                         java.lang.String uri)

### CMSPermission

    public CMSPermission(PortalCMSSecurityContext securityContext)

Parameters:
  `wrappedPermission` -

Method Detail

### getType

    public java.lang.String getType()

  Specified by:
    `getType` in class `org.jboss.portal.security.PortalPermission`

### implies

    public boolean implies(org.jboss.portal.security.spi.provider.PermissionRepository repository,
                           javax.security.auth.Subject caller,
                           java.lang.String roleName,
                           org.jboss.portal.security.PortalPermission permission)
                    throws org.jboss.portal.security.PortalSecurityException

  Specified by:
    `implies` in class `org.jboss.portal.security.PortalPermission`
  Throws:
    `org.jboss.portal.security.PortalSecurityException`

### getSecurityContext

    public PortalCMSSecurityContext getSecurityContext()

  Returns:

### equals

    public boolean equals(java.lang.Object obj)

  Specified by:
    `equals` in class `java.security.Permission`

### getActions

    public java.lang.String getActions()

  Specified by:
    `getActions` in class `java.security.Permission`

### hashCode

    public int hashCode()

  Specified by:
    `hashCode` in class `java.security.Permission`

### implies

    public boolean implies(java.security.Permission permission)

  Specified by:
    `implies` in class `java.security.Permission`

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 © 2008. All Rights Reserved.