Package org.apache.wss4j.common.kerberos
Class KerberosClientExceptionAction
- java.lang.Object
-
- org.apache.wss4j.common.kerberos.KerberosClientExceptionAction
-
- All Implemented Interfaces:
PrivilegedExceptionAction<KerberosContext>
public class KerberosClientExceptionAction extends Object implements PrivilegedExceptionAction<KerberosContext>
This class represents a PrivilegedExceptionAction implementation to obtain a service ticket from a Kerberos Key Distribution Center.
-
-
Constructor Summary
Constructors Constructor Description KerberosClientExceptionAction(Principal clientPrincipal, String serviceName, boolean isUsernameServiceNameForm, boolean requestCredDeleg)
KerberosClientExceptionAction(Principal clientPrincipal, String serviceName, boolean isUsernameServiceNameForm, boolean requestCredDeleg, GSSCredential delegatedCredential, boolean spnego, boolean mutualAuth)
-
-
-
Constructor Detail
-
KerberosClientExceptionAction
public KerberosClientExceptionAction(Principal clientPrincipal, String serviceName, boolean isUsernameServiceNameForm, boolean requestCredDeleg)
-
KerberosClientExceptionAction
public KerberosClientExceptionAction(Principal clientPrincipal, String serviceName, boolean isUsernameServiceNameForm, boolean requestCredDeleg, GSSCredential delegatedCredential, boolean spnego, boolean mutualAuth)
-
-
Method Detail
-
run
public KerberosContext run() throws GSSException, WSSecurityException
- Specified by:
run
in interfacePrivilegedExceptionAction<KerberosContext>
- Throws:
GSSException
WSSecurityException
-
-