org.openrdf.http.object.behaviours
Class DigestRealmSupport

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface org.openrdf.http.object.traits.Realm
OPERATIONS
 
Fields inherited from interface org.openrdf.repository.object.RDFObject
GET_CONNECTION, GET_RESOURCE
 
Constructor Summary
DigestRealmSupport()
          Deprecated.  
 
Method Summary
 String allowOrigin()
          Deprecated. The code origins that are permitted to send requests to this realm as defined in the HTTP header Access-Control-Allow-Origin.
 Object authorizeAgent(String method, String via, Set<String> names, String algorithm, byte[] encoded)
          Deprecated.  
 Object authorizeRequest(String method, Object resource, Map<String,String[]> map)
          Deprecated.  
 org.apache.http.HttpResponse unauthorized()
          Deprecated. The response that should be returned when the request could not be authenticated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openrdf.http.object.traits.DigestRealm
getOrigins, getRealmAuth, setOrigins, setRealmAuth
 
Methods inherited from interface org.openrdf.http.object.traits.Realm
authenticateAgent, authenticateRequest, authorizeCredential, forbidden
 
Methods inherited from interface org.openrdf.repository.object.RDFObject
getObjectConnection, getResource
 

Constructor Detail

DigestRealmSupport

public DigestRealmSupport()
Deprecated. 
Method Detail

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.