Apache CXF API

org.apache.cxf.interceptor.security
Class JAASLoginInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.interceptor.security.JAASLoginInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class JAASLoginInterceptor
extends AbstractPhaseInterceptor<Message>


Constructor Summary
JAASLoginInterceptor()
           
 
Method Summary
protected  SecurityContext createSecurityContext(Subject subject)
           
protected  CallbackHandler getCallbackHandler(String name, String password)
           
 String getContextName()
           
 String getRolePrefix()
           
 void handleMessage(Message message)
          Intercepts a message.
 void setContextName(String name)
           
 void setRolePrefix(String name)
           
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAASLoginInterceptor

public JAASLoginInterceptor()
Method Detail

setContextName

public void setContextName(String name)

getContextName

public String getContextName()

setRolePrefix

public void setRolePrefix(String name)

getRolePrefix

public String getRolePrefix()

handleMessage

public void handleMessage(Message message)
                   throws Fault
Description copied from interface: Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

Throws:
Fault

getCallbackHandler

protected CallbackHandler getCallbackHandler(String name,
                                             String password)

createSecurityContext

protected SecurityContext createSecurityContext(Subject subject)

Apache CXF API

Apache CXF