}
@Override
public void store( final SecurityContext context,
final Subject subject ) {
final HttpSecurityContext httpContext = checkInstanceOf( "context", context, HttpSecurityContext.class );
final String content = CRYPT_PROVIDER.encrypt( subject.getName(), null );
final Cookie securityCookie = new Cookie( cookieName, content );
securityCookie.setPath( "/" );
securityCookie.setMaxAge( DEFAULT_EXPIRE_48_HOURS );
httpContext.getResponse().addCookie( securityCookie );
}