org.jboss.security.integration.password
Class PasswordLifecycleCallback

java.lang.Object
  extended by org.jboss.security.integration.password.PasswordLifecycleCallback

public class PasswordLifecycleCallback
extends Object

AOP Lifecycle callback for the @Password annotation

Since:
Apr 1, 2009
Author:
Anil.Saldhana@redhat.com

Constructor Summary
PasswordLifecycleCallback()
           
 
Method Summary
 void install(org.jboss.dependency.spi.ControllerContext context)
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
          Bind the target on setKernelControllerContext, unbind on any other method provided that the invocation has a Password annotation.
 void setPasswordManagement(PasswordMaskManagement passwordManagement)
          Set the Password Mask Management bean
 void uninstall(org.jboss.dependency.spi.ControllerContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordLifecycleCallback

public PasswordLifecycleCallback()
Method Detail

setPasswordManagement

public void setPasswordManagement(PasswordMaskManagement passwordManagement)
Set the Password Mask Management bean

Parameters:
passwordManagement -

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Bind the target on setKernelControllerContext, unbind on any other method provided that the invocation has a Password annotation.

Parameters:
invocation - the invocation
Returns:
the result
Throws:
Throwable - for any error

install

public void install(org.jboss.dependency.spi.ControllerContext context)
             throws Exception
Throws:
Exception

uninstall

public void uninstall(org.jboss.dependency.spi.ControllerContext context)
               throws Exception
Throws:
Exception


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.