org.camunda.bpm.cycle.aspect
Class LoginAspect
java.lang.Object
org.camunda.bpm.cycle.aspect.LoginAspect
@Component
public class LoginAspect
- extends Object
Ensures that a Connector is logged in during a
Secured annotated connector method.
Performs the login on the fly by calling Connector#login(java.lang.String, java.lang.String)
if {@link Connector#needsLogin()} returns true.
- Author:
- nico.rehwaldt
- See Also:
Secured
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encryptionService
@Inject
protected EncryptionService encryptionService
LoginAspect
public LoginAspect()
doLogin
public void doLogin(Connector connector)
setConnectorCredentialsRepository
public void setConnectorCredentialsRepository(ConnectorCredentialsRepository connectorCredentialsRepository)
Copyright © 2014 camunda services GmbH. All rights reserved.