@Override public String getAuthType() { return ((PortletRequest)wrapped).getAuthType(); }
@Override public String getAuthType() { return mPortletRequest.getAuthType(); }
@Override public String getAuthType() { if (isClosed) return null; return preq.getAuthType(); }
public final String getAuthType() { return preq.getAuthType(); }
@Override public String getAuthType() { if (authType == null) { authType = portletRequest.getAuthType(); } return authType; }
/** * The default behavior of this method is to call * <code>getAuthType()</code> on the wrapped request object. */ public String getAuthType() { return request.getAuthType(); }
/** * @see javax.servlet.http.HttpServletRequest#getAuthType() */ public String getAuthType() { return portletRequest.getAuthType(); }
@Override public String getAuthType() { return _portletRequest.getAuthType(); }
@Override public String getAuthType() { if (authType == null) { authType = portletRequest.getAuthType(); } return authType; }
public String getAuthType() { return portletRequest.getAuthType(); }
public String getAuthType() { return portletRequest.getAuthType(); }
public String getAuthType() { return request.getAuthType(); }
public String getAuthType() { return portletRequest.getAuthType(); }
/** * This method attempts to extract a credentials from the portlet request. * We are trusting the portal framework to authenticate the user, so all * we are really doing is trying to put something intelligent in here to * indicate the user is authenticated. According to the JSR 168 spec, * PortletRequest.getAuthType() should return a non-null value if the * user is authenticated and should be null if not authenticated. So we * will use this as the credentials and the token will be trusted as * authenticated if the credentials are not null. * <p>This method can be overridden by subclasses to provide special handling * for portals with weak support for the JSR 168 spec. If that is done, * be sure the value is non-null for authenticated users and null for * non-authenticated users.</p> * @param request the portlet request object * @return the determined credentials object, or null if none found */ protected Object getCredentialsFromRequest(PortletRequest request) { if (useAuthTypeAsCredentials) { return request.getAuthType(); } return "dummy"; }
public static String getAuthType() { PortletRequest portletRequest = getPortletRequest(); if (portletRequest == null) { throw new IllegalStateException( "The request is not PortletRequest."); } return portletRequest.getAuthType(); }
@Override public String getAuthType() { return getWrapped().getAuthType(); }
@Override public String getAuthType() { return getWrapped().getAuthType(); }
@Override public String getAuthType() { return getWrapped().getAuthType(); }
_serverPort = portletRequest.getServerPort(); _secure = portletRequest.isSecure(); _authType = portletRequest.getAuthType(); _remoteUser = portletRequest.getRemoteUser(); _contextPath = portletRequest.getContextPath();
authType = portletRequest.getAuthType(); contextPath = portletRequest.getContextPath(); requestedSessionId = portletRequest.getRequestedSessionId();