ResultTag
Corresponds to <ugm:login>
.
The <ugm:login>
tag provides weak
authentication (username, password) against the
current security realm, and sets the authenticated
user as the current WebLogic user. The tag has no enclosed body.
Note: The login tag requires a "username
"
attribute and a "password
" attribute to be
present in the HTTP request.
Tag Attribute |
Required |
Type |
Description |
result |
yes |
String |
The name of an Integer variable to which the result of the login operation is assigned. Possible Values:
Authentication failed because of invalid
username/password combination:
General error when performing authentication: Example: " |
Object
TagSupport
UserManagementTag
ResultTag
LoginTag
IterationTag
, Serializable
, Tag
, UserManagementTagConstants
Field Summary |
Fields from com.bea.p13n.usermgmt.taglib. |
|
Fields from javax.servlet.jsp.tagext. |
id, pageContext |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_AGAIN |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary |
|
Method Summary |
public int |
|
Methods from com.bea.p13n.usermgmt.taglib. |
|
Methods from com.bea.p13n.usermgmt.taglib. |
|
Methods from javax.servlet.jsp.tagext. |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface javax.servlet.jsp.tagext. |
doAfterBody |
Methods from interface javax.servlet.jsp.tagext. |
doEndTag, doStartTag, getParent, release, setPageContext, setParent |
Constructor Detail |
public LoginTag()
Method Detail |
public int doStartTag()Authenticate the user against the realm
throwsJspException
TagSupport.doStartTag()
JspException