public class SecurityContextFactory extends Object implements SecurityContextFactory
Serializable
,
Serialized FormConstructor and Description |
---|
SecurityContextFactory() |
Modifier and Type | Method and Description |
---|---|
SecurityContextDelegate |
create(TavernaRun run,
UsernamePrincipal owner)
Creates a security context.
|
String |
issueNewPassword() |
void |
setCertificateFetcher(CertificateChainFetcher fetcher) |
void |
setFilenameConverter(FilenameUtils fileUtils) |
void |
setHttpRealm(String realm) |
void |
setPasswordIssuer(PasswordIssuer issuer) |
void |
setRunDatabase(RunDBSupport db) |
void |
setUriSource(UriBuilderFactory uriSource) |
void |
setX500Utils(X500Utils x500Utils) |
public void setRunDatabase(RunDBSupport db)
public void setCertificateFetcher(CertificateChainFetcher fetcher)
public void setFilenameConverter(FilenameUtils fileUtils)
public void setX500Utils(X500Utils x500Utils)
public void setUriSource(UriBuilderFactory uriSource)
public void setHttpRealm(String realm)
public void setPasswordIssuer(PasswordIssuer issuer)
public SecurityContextDelegate create(TavernaRun run, UsernamePrincipal owner) throws Exception
SecurityContextFactory
create
in interface SecurityContextFactory
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.public String issueNewPassword()
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.