Hi Jaspaul,

We support 2 types of credential verification:

1) We use javax.xml.bind.DatatypeConverter Base64  to encode encrypted 
authentication. This is used for testing/sandbox.
And please note that authority is also used -- ROLE_USER, ROLE_ADMIN.

The information is in the following file. We can set it up in the following 
file. It means you can change the username/password in the following 
configuration. You need to use Base64 to encode your password and replace the 
following password's value.

eagle/lib/tomcat/webapps/eagle-service/WEB-INF/classes/eagleSecurity.xml

<scr:user name="eagle" 
password="$2a$10$TwALMRHpSetDaeTurg9rj.DnIdOde4fkQGBSPG3fVqtH.G5ZH8sQK" 
authorities="ROLE_USER" />
<scr:user name="admin" 
password="$2a$10$TwALMRHpSetDaeTurg9rj.DnIdOde4fkQGBSPG3fVqtH.G5ZH8sQK" 
authorities="ROLE_ADMIN" />
Please note that this is NOT recommended. It might be hacked and password may 
be leaked.

2) LDAP is supported and recommended. We can enable LDAP this way:
a) Edit conf/eagle-service.conf. change springActiveProfile="default"
b) Edit conf/ldap.properties 

If you still have any questions, please feel free to contact us. Thanks.

-Huizhi


> On May 23, 2016, at 11:06 AM, Jaspaul Chahal <[email protected]> wrote:
> 
> Hello,
> 
> This is related to Apache Eagle credentials, we know that the default 
> credentials are admin/secret.
> But, I want to change the credentials to something else. Only place, I know, 
> where we specify the credentials are in "~ /eagle/bin/eagle-env.sh" file . 
> Even if I change the EAGLE_SERVICE_USER and EAGLE_SERVICE_PASSWD and restart 
> Apache Eagle service, it doesn't reflect the change.
> 
> Can you please guide me, how can I change the credentials for Apache Eagle 
> service?
> 
> 
> Thanks and regards,
> Jaspaul Chahal

Reply via email to