org.universAAL.security.authenticator.client
Class AuthenticationPublisher

Package class diagram package AuthenticationPublisher
java.lang.Object
  extended by org.universAAL.middleware.bus.member.BusMember
      extended by org.universAAL.middleware.bus.member.Publisher
          extended by org.universAAL.middleware.context.ContextPublisher
              extended by org.universAAL.security.authenticator.client.AuthenticationPublisher

public class AuthenticationPublisher
extends ContextPublisher

This class should be used when the Authentication is successful, to allow the Session Manager to uplift the authentication to a Session.

Author:
amedrano

Field Summary
 
Fields inherited from class org.universAAL.middleware.bus.member.BusMember
busResourceURI, owner, theBus
 
Constructor Summary
AuthenticationPublisher(ModuleContext context)
           
 
Method Summary
 void authenticate(User u, Device d)
           
 void communicationChannelBroken()
          
 void deauthenticate(User u, Device d)
           
static ContextEventPattern[] getPattern()
           
static ContextProvider getProvider()
           
 
Methods inherited from class org.universAAL.middleware.context.ContextPublisher
busDyingOut, getMyID, publish
 
Methods inherited from class org.universAAL.middleware.bus.member.BusMember
close, getType, getURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationPublisher

public AuthenticationPublisher(ModuleContext context)
Parameters:
context -
providerInfo -
Method Detail

getProvider

public static ContextProvider getProvider()

getPattern

public static ContextEventPattern[] getPattern()

communicationChannelBroken

public void communicationChannelBroken()

Specified by:
communicationChannelBroken in class ContextPublisher

authenticate

public void authenticate(User u,
                         Device d)

deauthenticate

public void deauthenticate(User u,
                           Device d)


Copyright © 2014 universAAL Consortium. All Rights Reserved.