Uses of Interface
org.astrogrid.samp.web.OriginAuthorizer
Packages that use OriginAuthorizer
-
Uses of OriginAuthorizer in org.astrogrid.samp.web
Fields in org.astrogrid.samp.web declared as OriginAuthorizerModifier and TypeFieldDescriptionstatic final OriginAuthorizerOriginAuthorizers.FALSEOriginAuthorizer which always denies access.static final OriginAuthorizerOriginAuthorizers.SWINGOriginAuthorizer which queries the user via a popup dialogue.static final OriginAuthorizerOriginAuthorizers.TRUEOriginAuthorizer which always permits access.Methods in org.astrogrid.samp.web that return OriginAuthorizerModifier and TypeMethodDescriptionstatic OriginAuthorizerOriginAuthorizers.createFixedOriginAuthorizer(boolean individualPolicy, boolean generalPolicy) Returns an OriginAuthorizer with fixed responses, regardless of input.static OriginAuthorizerOriginAuthorizers.createLoggingOriginAuthorizer(OriginAuthorizer auth, Level acceptLevel, 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.WebHubProfile.ServerFactory.getOriginAuthorizer()Returns the authorization policy for external origins.Methods in org.astrogrid.samp.web with parameters of type OriginAuthorizerModifier and TypeMethodDescriptionstatic HttpServer.HandlerOpenPolicyResourceHandler.createFlashPolicyHandler(OriginAuthorizer oAuth) Returns a handler which can serve the /crossdomain.xml file used by Adobe Flash.static OriginAuthorizerOriginAuthorizers.createLoggingOriginAuthorizer(OriginAuthorizer auth, Level acceptLevel, 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(String path, URL contentUrl, 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 OriginAuthorizerModifierConstructorDescriptionCorsHttpServer(ServerSocket socket, OriginAuthorizer authorizer) Constructor.LoggingCorsHttpServer(ServerSocket socket, OriginAuthorizer auth, PrintStream out) Constructor.OpenPolicyResourceHandler(String policyPath, ServerResource policyResource, OriginAuthorizer authorizer) Constructor.