public interface SecurityContextFactory extends Serializable
Modifier and Type | Method and Description |
---|---|
TavernaSecurityContext |
create(TavernaRun run,
UsernamePrincipal owner)
Creates a security context.
|
TavernaSecurityContext create(TavernaRun run, UsernamePrincipal owner) throws Exception
run
- Handle to remote run. Allows the security context to know how
to apply itself to the workflow run.owner
- The identity of the owner of the workflow run.Exception
- If anything goes wrong.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.