You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Nicholas Marion (Jira)" <ji...@apache.org> on 2019/09/20 18:00:00 UTC

[jira] [Created] (HADOOP-16590) IBM Java has deprecated OS login module classes and OS principal classes.

Nicholas Marion created HADOOP-16590:
----------------------------------------

             Summary: IBM Java has deprecated OS login module classes and OS principal classes.
                 Key: HADOOP-16590
                 URL: https://issues.apache.org/jira/browse/HADOOP-16590
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
            Reporter: Nicholas Marion


When building applications that rely on hadoop-commons and using IBM Java, errors such as `{{Exception in thread "main" java.io.IOException: failure to login}}` and `{{Unable to find JAAS classes:com.ibm.security.auth.LinuxPrincipal}}` can be seen. 

IBM Java has deprecated the following OS Login Module classes:

```
com.ibm.security.auth.module.Win64LoginModule
com.ibm.security.auth.module.NTLoginModule
com.ibm.security.auth.module.AIX64LoginModule
com.ibm.security.auth.module.AIXLoginModule
com.ibm.security.auth.module.LinuxLoginModule
```
and replaced with
`com.ibm.security.auth.module.JAASLoginModule`

IBM Java has deprecated the following OS Principal classes:

```

com.ibm.security.auth.UsernamePrincipal

com.ibm.security.auth.NTUserPrincipal

com.ibm.security.auth.AIXPrincipal

com.ibm.security.auth.LinuxPrincipal
```


and replaced with `com.ibm.security.auth.UsernamePrincipal`.

Older issue HADOOP-15765 has same issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org