public class UNCKerberos extends Authentication
UNCKerberos class.
Modifier and Type | Class and Description |
---|---|
protected class |
UNCKerberos.NamePasswordCallbackHandler |
Constructor and Description |
---|
UNCKerberos() |
Modifier and Type | Method and Description |
---|---|
protected Subject |
getSubject(String uid,
String password,
String keytabfile)
getSubject.
|
protected boolean |
isConfigError(Throwable e)
isConfigError.
|
boolean |
loginSuccess(String uid,
String password)
loginSuccess.
|
public boolean loginSuccess(String uid, String password)
loginSuccess.
Get boolean true/false based on onyen/password pair. No exception is thrown.loginSuccess
in class Authentication
uid
- a String
object.password
- a String
object.protected Subject getSubject(String uid, String password, String keytabfile) throws LoginException
getSubject.
uid
- a String
object.password
- a String
object.keytabfile
- a String
object.Subject
object.LoginException
- if any.Copyright © 2015 SeqWare. All rights reserved.