Skip navigation links


Thor.API.Base
Class SecurityInvocationHandler

java.lang.Object
  extended by Thor.API.Base.SecurityInvocationHandler

All Implemented Interfaces:
java.io.Serializable, java.lang.reflect.InvocationHandler

public class SecurityInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler, java.io.Serializable
See Also:
Serialized Form

Constructor Summary
SecurityInvocationHandler(Thor.API.Security.LoginHandler.LoginSession session, java.lang.Object implementor)
          Create a new Security invocation handler.

 

Method Summary
 java.lang.Object invoke(java.lang.Object arg0, java.lang.reflect.Method method, java.lang.Object[] args)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SecurityInvocationHandler

public SecurityInvocationHandler(Thor.API.Security.LoginHandler.LoginSession session,
                                 java.lang.Object implementor)
Create a new Security invocation handler. All the invocations will go through this handler. This handler calls RunAs/doAS on all the methods.
Parameters:
runAsSubject -
implementor -
jbosscredential -

Method Detail

invoke

public java.lang.Object invoke(java.lang.Object arg0,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.