@Component public class LoginAspect extends Object
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.Secured
Modifier and Type | Field and Description |
---|---|
protected EncryptionService |
encryptionService |
Constructor and Description |
---|
LoginAspect() |
Modifier and Type | Method and Description |
---|---|
void |
doLogin(Connector connector) |
void |
setConnectorCredentialsRepository(ConnectorCredentialsRepository connectorCredentialsRepository) |
@Inject protected EncryptionService encryptionService
public void doLogin(Connector connector)
public void setConnectorCredentialsRepository(ConnectorCredentialsRepository connectorCredentialsRepository)
Copyright © 2015. All rights reserved.