E.g. 
```java
public class AuthFilter implements Filter {
     public static final String SESSION_ATTR_PASSWORD = "password"

//....

String password = (String) session.getAttribute(SESSION_ATTR_PASSWORD);

```