List of usage examples for org.springframework.web.context.request FacesRequestAttributes getAttribute
@Override public Object getAttribute(String name, int scope)
From source file:com.autentia.wuija.widget.ChangePasswordCtrl.java
public int getMaximumValidityPeriodOnDays() { FacesRequestAttributes attr = (FacesRequestAttributes) RequestContextHolder.currentRequestAttributes(); return ((Integer) attr.getAttribute("MAXIMUM_VALIDITY_PERIOD", RequestAttributes.SCOPE_SESSION)).intValue(); }