org.camunda.bpm.cycle.aspect
Class LoginAspect

java.lang.Object
  extended by 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

Field Summary
protected  EncryptionService encryptionService
           
 
Constructor Summary
LoginAspect()
           
 
Method Summary
 void doLogin(Connector connector)
           
 void setConnectorCredentialsRepository(ConnectorCredentialsRepository connectorCredentialsRepository)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

encryptionService

@Inject
protected EncryptionService encryptionService
Constructor Detail

LoginAspect

public LoginAspect()
Method Detail

doLogin

public void doLogin(Connector connector)

setConnectorCredentialsRepository

public void setConnectorCredentialsRepository(ConnectorCredentialsRepository connectorCredentialsRepository)


Copyright © 2014 camunda services GmbH. All rights reserved.