Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.security
Class RunAsOperation

    java.lang.Object
      org.jboss.seam.security.RunAsOperation

    public abstract class RunAsOperation

extends Object

Defines a security operation that can be executed within a particular security context.

Author:
  Shane Bryzak

Constructor Summary
`RunAsOperation()`
`RunAsOperation(boolean systemOp)` A system operation allows any security checks to pass

Method Summary
`RunAsOperation` | `addRole(String role)`
`abstract void` | `execute()`
`Principal` | `getPrincipal()`
`Subject` | `getSubject()`
`boolean` | `isSystemOperation()`
`void` | `run()`

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

Constructor Detail

### RunAsOperation

    public RunAsOperation()

### RunAsOperation

    public RunAsOperation(boolean systemOp)

  A system operation allows any security checks to pass

  Parameters:
    `systemOp` -

Method Detail

### execute

    public abstract void execute()

### getPrincipal

    public Principal getPrincipal()

### getSubject

    public Subject getSubject()

### addRole

    public RunAsOperation addRole(String role)

### isSystemOperation

    public boolean isSystemOperation()

### run

    public void run()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.