org.openrdf.http.object.behaviours
Class DigestRealmSupport
java.lang.Object
org.openrdf.http.object.behaviours.DigestRealmSupport
- All Implemented Interfaces:
- DigestRealm, Realm, RDFObject
Deprecated.
@Deprecated
public abstract class DigestRealmSupport
- extends Object
- implements DigestRealm, RDFObject
Validates HTTP digest authorization.
| Fields inherited from interface org.openrdf.http.object.traits.Realm |
OPERATIONS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DigestRealmSupport
public DigestRealmSupport()
- Deprecated.
allowOrigin
public String allowOrigin()
- Deprecated.
- Description copied from interface:
Realm
- The code origins that are permitted to send requests to this realm as
defined in the HTTP header Access-Control-Allow-Origin.
- Specified by:
allowOrigin in interface Realm
- Returns:
- a comma separated list of acceptable domains or null if any
domain is allowed.
unauthorized
public org.apache.http.HttpResponse unauthorized()
throws IOException
- Deprecated.
- Description copied from interface:
Realm
- The response that should be returned when the request could not be
authenticated.
- Specified by:
unauthorized in interface Realm
- Returns:
- An HTTP response
- Throws:
IOException
authorizeAgent
public Object authorizeAgent(String method,
String via,
Set<String> names,
String algorithm,
byte[] encoded)
- Deprecated.
authorizeRequest
public Object authorizeRequest(String method,
Object resource,
Map<String,String[]> map)
- Deprecated.
Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.