Uses of Interface
org.astrogrid.samp.web.OriginAuthorizer
-
Packages that use OriginAuthorizer Package Description org.astrogrid.samp.web Classes relating to the SAMP Web Profile. -
-
Uses of OriginAuthorizer in org.astrogrid.samp.web
Fields in org.astrogrid.samp.web declared as OriginAuthorizer Modifier and Type Field Description static OriginAuthorizerOriginAuthorizers. FALSEOriginAuthorizer which always denies access.static OriginAuthorizerOriginAuthorizers. SWINGOriginAuthorizer which queries the user via a popup dialogue.static OriginAuthorizerOriginAuthorizers. TRUEOriginAuthorizer which always permits access.Methods in org.astrogrid.samp.web that return OriginAuthorizer Modifier and Type Method Description static OriginAuthorizerOriginAuthorizers. createFixedOriginAuthorizer(boolean individualPolicy, boolean generalPolicy)Returns an OriginAuthorizer with fixed responses, regardless of input.static OriginAuthorizerOriginAuthorizers. createLoggingOriginAuthorizer(OriginAuthorizer auth, java.util.logging.Level acceptLevel, java.util.logging.Level refuseLevel)Returns an OriginAuthorizer based on an existing one which logs responses.static OriginAuthorizerOriginAuthorizers. createMemoryOriginAuthorizer(OriginAuthorizer auth)Returns an OriginAuthorizer based on an existing one which caches responses.OriginAuthorizerWebHubProfile.ServerFactory. getOriginAuthorizer()Returns the authorization policy for external origins.Methods in org.astrogrid.samp.web with parameters of type OriginAuthorizer Modifier and Type Method Description static HttpServer.HandlerOpenPolicyResourceHandler. createFlashPolicyHandler(OriginAuthorizer oAuth)Returns a handler which can serve the /crossdomain.xml file used by Adobe Flash.static OriginAuthorizerOriginAuthorizers. createLoggingOriginAuthorizer(OriginAuthorizer auth, java.util.logging.Level acceptLevel, java.util.logging.Level refuseLevel)Returns an OriginAuthorizer based on an existing one which logs responses.static OriginAuthorizerOriginAuthorizers. createMemoryOriginAuthorizer(OriginAuthorizer auth)Returns an OriginAuthorizer based on an existing one which caches responses.static HttpServer.HandlerOpenPolicyResourceHandler. createPolicyHandler(java.lang.String path, java.net.URL contentUrl, java.lang.String contentType, OriginAuthorizer oAuth)Creates a handler suitable for serving static cross-origin policy files.static HttpServer.HandlerOpenPolicyResourceHandler. createSilverlightPolicyHandler(OriginAuthorizer oAuth)Returns a handler which can serve the /clientaccesspolicy.xml file used by Microsoft Silverlight.voidWebHubProfile.ServerFactory. setOriginAuthorizer(OriginAuthorizer oAuth)Sets the authorization policy for external origins.Constructors in org.astrogrid.samp.web with parameters of type OriginAuthorizer Constructor Description CorsHttpServer(java.net.ServerSocket socket, OriginAuthorizer authorizer)Constructor.LoggingCorsHttpServer(java.net.ServerSocket socket, OriginAuthorizer auth, java.io.PrintStream out)Constructor.OpenPolicyResourceHandler(java.lang.String policyPath, ServerResource policyResource, OriginAuthorizer authorizer)Constructor.
-