站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

ServletAuthenticatedUser (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.security.servlet
Class ServletAuthenticatedUser

java.lang.Object
  extended byorg.apache.axis.security.servlet.ServletAuthenticatedUser
All Implemented Interfaces:
AuthenticatedUser

public class ServletAuthenticatedUser
extends Object
implements AuthenticatedUser

ServletAuthenticatedUser is a sligtly odd implementation of AuthenticatedUser. It serves to store an HttpServletRequest, so that request can be used by the ServletSecurityProvider to check roles.

Author:
Glen Daniels (gdaniels@macromedia.com)

Constructor Summary
ServletAuthenticatedUser(javax.servlet.http.HttpServletRequest req)
           
 
Method Summary
 String getName()
          Return a string representation of the user's name.
 javax.servlet.http.HttpServletRequest getRequest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletAuthenticatedUser

public ServletAuthenticatedUser(javax.servlet.http.HttpServletRequest req)
Method Detail

getName

public String getName()
Return a string representation of the user's name.

Specified by:
getName in interface AuthenticatedUser
Returns:
the user's name as a String.

getRequest

public javax.servlet.http.HttpServletRequest getRequest()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.