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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to