@Override @Nullable public String getRemoteUser() { return getFacesContext().getExternalContext().getRemoteUser(); }
@Override public String getDescription(boolean includeClientInfo) { ExternalContext externalContext = getExternalContext(); StringBuilder sb = new StringBuilder(); sb.append("context=").append(externalContext.getRequestContextPath()); if (includeClientInfo) { Object session = externalContext.getSession(false); if (session != null) { sb.append(";session=").append(getSessionId()); } String user = externalContext.getRemoteUser(); if (StringUtils.hasLength(user)) { sb.append(";user=").append(user); } } return sb.toString(); }
public static String remoteUser() { return FacesContext.getCurrentInstance().getExternalContext().getRemoteUser(); }
@Override @Nullable public String getRemoteUser() { return getFacesContext().getExternalContext().getRemoteUser(); }
@Override public String getDescription(boolean includeClientInfo) { ExternalContext externalContext = getExternalContext(); StringBuilder sb = new StringBuilder(); sb.append("context=").append(externalContext.getRequestContextPath()); if (includeClientInfo) { Object session = externalContext.getSession(false); if (session != null) { sb.append(";session=").append(getSessionId()); } String user = externalContext.getRemoteUser(); if (StringUtils.hasLength(user)) { sb.append(";user=").append(user); } } return sb.toString(); }
/** * {@inheritDoc} */ public String getRemoteUser() { return wrapped.getRemoteUser(); }
/** * {@inheritDoc} */ public String getRemoteUser() { return wrapped.getRemoteUser(); }
/** * {@inheritDoc} */ public String getRemoteUser() { return wrapped.getRemoteUser(); }
@Override public String getRemoteUser() { return wrapped.getRemoteUser(); }
/** * @see Faces#getRemoteUser() */ public static String getRemoteUser(FacesContext context) { return context.getExternalContext().getRemoteUser(); }
/** * @see Faces#getRemoteUser() */ public static String getRemoteUser(FacesContext context) { return context.getExternalContext().getRemoteUser(); }
/** * returns the remote user Name * * @return */ public String getRemoteUser() { FacesContext context = FacesContext.getCurrentInstance(); ExternalContext externalContext = context.getExternalContext(); String remoteUser = externalContext.getRemoteUser(); return remoteUser; }
/** * <p>The default behavior of this method is to * call {@link ExternalContext#getRemoteUser} * on the wrapped {@link ExternalContext} object.</p> * * @see javax.faces.context.ExternalContext#getRemoteUser() */ @Override public String getRemoteUser() { return getWrapped().getRemoteUser(); }
/** * <p>The default behavior of this method is to * call {@link ExternalContext#getRemoteUser} * on the wrapped {@link ExternalContext} object.</p> * * @see javax.faces.context.ExternalContext#getRemoteUser() */ @Override public String getRemoteUser() { return getWrapped().getRemoteUser(); }
/** * <p>The default behavior of this method is to * call {@link ExternalContext#getRemoteUser} * on the wrapped {@link ExternalContext} object.</p> * * @see javax.faces.context.ExternalContext#getRemoteUser() */ @Override public String getRemoteUser() { return getWrapped().getRemoteUser(); }
/** * <p>The default behavior of this method is to * call {@link ExternalContext#getRemoteUser} * on the wrapped {@link ExternalContext} object.</p> * * @see javax.faces.context.ExternalContext#getRemoteUser() */ @Override public String getRemoteUser() { return getWrapped().getRemoteUser(); }
@Override public String getRemoteUser() { return getWrapped().getRemoteUser(); }
/** * <p>The default behavior of this method is to * call {@link ExternalContext#getRemoteUser} * on the wrapped {@link ExternalContext} object.</p> * * @see javax.faces.context.ExternalContext#getRemoteUser() */ @Override public String getRemoteUser() { return getWrapped().getRemoteUser(); }
/** * <p>The default behavior of this method is to * call {@link ExternalContext#getRemoteUser} * on the wrapped {@link ExternalContext} object.</p> * * @see javax.faces.context.ExternalContext#getRemoteUser() */ public String getRemoteUser() { return getWrapped().getRemoteUser(); }
@Override @Nullable public String getRemoteUser() { return getFacesContext().getExternalContext().getRemoteUser(); }