com.arsdigita.kernel.security
Class ParanoidSecurityHelper
java.lang.Object
com.arsdigita.kernel.security.DefaultSecurityHelper
com.arsdigita.kernel.security.ParanoidSecurityHelper
- All Implemented Interfaces:
- SecurityHelper
- public class ParanoidSecurityHelper
- extends DefaultSecurityHelper
Implementation of the
SecurityHelper interface that always returns true for
isSecure. This implementation is not safe, since it may
cause the system to send sensitive data over an insecure connection.
This class is used for simulating secure conditions for testing.
- Author:
- Sameer Ajmani
- See Also:
SecurityHelper
|
Method Summary |
boolean |
isSecure(javax.servlet.http.HttpServletRequest req)
Always returns true (to simulate secure conditions). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
ParanoidSecurityHelper
public ParanoidSecurityHelper()
isSecure
public boolean isSecure(javax.servlet.http.HttpServletRequest req)
- Always returns true (to simulate secure conditions).
- Specified by:
isSecure in interface SecurityHelper- Overrides:
isSecure in class DefaultSecurityHelper
- Returns:
true.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC