es.caib.ibkey.cliente.common
Class ClientLogin

java.lang.Object
  extended by es.caib.ibkey.cliente.common.ClientLogin

public class ClientLogin
extends java.lang.Object


Constructor Summary
ClientLogin(java.lang.String username, java.lang.String password)
          Construye el login de cliente.
 
Method Summary
 javax.security.auth.Subject login()
          Performs the JAAS client side login and returns the subject
 void logout()
          Realiza el logout del usuario validado.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientLogin

public ClientLogin(java.lang.String username,
                   java.lang.String password)
Construye el login de cliente.

Parameters:
username -
password -
Method Detail

login

public javax.security.auth.Subject login()
                                  throws javax.security.auth.login.LoginException
Performs the JAAS client side login and returns the subject

Returns:
Throws:
javax.security.auth.login.LoginException

logout

public void logout()
            throws javax.security.auth.login.LoginException
Realiza el logout del usuario validado.

Throws:
javax.security.auth.login.LoginException


Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.