Ah I see, OK.  So I tried it just now as follows:

        IgniteConfiguration cfg = new IgniteConfiguration();

        // Set user attributes
        cfg.setUserAttributes(getUserAttributes());

    private Map<String, Object> getUserAttributes() {
        Map<String, Object> userAttributes = new HashMap<>();
        SecurityCredentials securityCredentials = new
SecurityCredentials(getModuleName(), passwordService.getPassword());
        userAttributes.put("org.apache.ignite.security.cred",
securityCredentials);
        return userAttributes;
    }


But I get the following error:

Caused by: org.apache.ignite.IgniteCheckedException: User attribute has
illegal name: 'org.apache.ignite.security.cred'. Note that all names
starting with 'org.apache.ignite' are reserved for internal use.

How can I set the security credentials for the local node?




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/NullPointerException-for-LoggerResource-tp11037p11050.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to