Managing sessions in a "secure" application

Right now I'm working on securing part of a ColdFusion 9 site with some more robust security. I use the basic cflogin / cflogout system for handling logins that is described in most Adobe tutorials online.
What I'd like to do is the following:
Be able to see what user has an active session (who is logged in)
Log out a user remotely (say you want to ban someones account and have that happen immediately)
Block accounts from having multiple sessions at once (i.e. no account sharing)
Are there any guides for this stuff? I read an article from a couple years ago that showed how to see who is logged in, but I think its probably out of date.

Hi,
Here is the approach I'd think about taking...
See which users have an active session?      
I'd use the login process and the application.cfc onSessionEnd to keep track of this.
Login routine would store the session ID against the user account record.
onSessionEnd would remove the session ID from the user account record.
Log out a user remotely.
Since you have the session ID's, you can modify the "sessionStop" function I created to accept the session ID as an argument      http://misterdai.wordpress.com/2010/06/15/cf-sessionstop-ending-a-cf-session/
You'll probably want to pester Adobe to put this into CF10.  Otherwise you might run into problems if they change the way things work.
Block accounts from having multiple sessions at once.
If someone tries to log in and they have a session ID on their record, they're already logged on.
You could then either kick off the old ID and let the new one on, or stop the new login attempt.
BTW, I'm also the creator of CfTracker.  It does provide an insight into the sessions on your server, it's built more for monitoring than using within another application.

Similar Messages

  • How can manage session in javafx desktop application

    i have created a javafx desktop application and  my application also consume  restWebService for login and logout puspose. now how i can maintain session of any particular user??
    please if u have any idea let me know??
    thanx in advance.

    With the setup you have described, you don't need to maintain much of a session like in a traditional browser or a web app server scenario. 
    WIth a traditional web application, when a login authentication passes, normally a cookie is set in the browser to indicate that a session has been established and is cleared on logout to indicate that the session is over.  When the browser client talks to the server it sends the cookie across to the server and the server (using something like the servlet api) decodes the cookie to determine the session and makes use of appropriate session state to access a store of session related data which it eventually just throws away on logout or on session timeout.  The cookie is normally a random piece of data which forms a unique id for the session and is normally generated on the server.
    If you are using rest apis then they should be coded to be stateless, so there is no session involved, every request to the server is self contained and contains all the information required to authenticate the user.  (e.g. the user/password hash is passed every time).  Sometimes a variant will be used where a token is passed, for example an oauth token, representing delegated authentication from another service.  But you likely don't need to do that and just passing the full auth information everytime is sufficient.  The server itself also maintains no state, it just does the auth based on the credentials passed with each request and then performs what ever action it needs to create and return the resource requested.
    So really, all you need to do is to:
    1. Prompt user for login credentials (user/pass).
    2. Hash the pass and make a rest call to the server for validation (http basic auth over https could be used for this).
    3. If the auth passes, then store the current user/pass hash as application data somewhere (e.g. members of your application class instance).
    4. When you need to make another rest call, query the application instance for the user / pass hash and include that in the call.
    5. When the user logs out, clear the user / pass hash from the application (set it to null).
    6. Show the login prompt again for the user.
    Note that using other communications systems (such as akka, hessian, spring remoting etc), may be a bit simpler for some kinds of JavaFX client/server applications than using REST.

  • How to manage sessions of two diiferent applications using SSO

    Im new to JAVA , i have two different apllication with different session management, How to make it a common session management, how to reset the timer program in JAVA for every 300 secs.Please help me out with ideas and send me the sample code timer program that can run for 300 secs and it has to be reseted when requests comes if there is any, otherwise it has to log out

    Yes total users should be around 5000, but there could be around 500 users accessing concurrently. Besides we are using to BOE to show a dashboard, with charts and graphs(using the HTMLView) so we will have to 500 concurrent IEnterprise sessions. I just hope that:
    1. Each session is unique(independent thread) although they have logged on using the same credentials
    2. The CMS server can scale upto this number(500). Don't know if there are some caching options available?

  • Juniper Java Secure Application Manager does not work with Snow Leopard

    Anyone else having issues as well? I'm not using a client - its basically the Java based application manager for VPN connections to work (so I can remote desktop to my work PC).
    Once logged in, it gives a "Restart your browser" error.
    Thanks for your help

    OK - so I got it to work. Here's what I did. Let me know if it works for you:
    I wasn't able to follow the instructions exactly as noted in the original link I posted above.
    The terminal command, specifically wget would not work - there is no wget.
    I manually downloaded the Java 1.5 version, by following the link (just clicked on it). I 'unzipped' it and moved it into the library/frameworks/JavaVM.framework/versions folder.
    So now the 1.5.0 is not an alias (as it is by default in SL), but the older version of Java.
    I then followed the instruction related to changing the order in JAVA PREFERENCES.
    The final stop - and I think this is key, is that I forced Safari to start in 32 bit mode. You can do this by going to Applications, highlighting Safari and hitting CMD-I. Then check the 32 bit option.
    Start Safari, go to the appropriate URL and login. The Java Secure Application Manager should then start as it used to do in Leopard. You should be all set.
    Hope this helps - let me know if someone has questions.

  • Initiall SharePoint Server 2013 setup -- unable to manage new User Profile Service Application

    During initial farm setup, creating an initial User Profile Service Application works fine.  However, once it's created, I cannot 'manage' it through the Manage Service Applications page in central
    admin.
    I get a generic error (Sorry, something went wrong / unexpected error) with a correlation ID that doesn't seem to match any ULS log entries. (Yes, I merged logs from all machines in the farm.)
    A Windows event log entry says:
    A failure was reported when trying to invoke a service application: Endpoint Failure
    Also frequent errors in ULS logs:  (see below)
    UserProfileApplicationNotAvailableException     
    User Profile Application      Proxy failed to retrieve partitions from User Profile Application: Micro…
    SPDistributedCache DataCacheException
    I did notice that the file 'ProfileService.svc does not exist in SharePoint's web services app at the URL you see in the error. (below)
    I also found it interesting that the event log error shows 1 active endpoint and 3 failed endpoints.  I have 2 WFEs and 2 app servers.  But I'm only trying to get the user profile service app running on the application
    servers.  I have deleted and recreated this service app several times under various names (deleted/recreated its app pool as well) and wonder if these other failed endpoints could be orphans from previous instances...
    Any thoughts on how I might successfully create this service application?  I've already been Binging my head against a wall long enough that I would have been better off reinstalling the entire farm...  I may still
    do that.
    FYI, my farm came from a slipstreamed SP1 install package, and received the July CU after several other things were already configured, including the already-failed UP service application.
    Log Name:      Application 
    Source:        Microsoft-SharePoint Products-SharePoint Foundation 
    Date:          8/8/2014 6:11:54 PM 
    Event ID:      8313 
    Task Category:
    Topology 
    Level:         Error 
    Keywords:       
    User:          xyz\sp_farm
    Computer:      spapp1.xyz.local 
    Description: 
    A failure was reported when trying to invoke a service application: EndpointFailure 
    Process Name: w3wp 
    Process ID: 4284 
    AppDomain Name: /LM/W3SVC/560632691/ROOT-1-130519915587486075 
    AppDomain ID: 2 
    Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&authority=https://spapp1:32844/Topology/topology.svc 
    Active Endpoints: 1 
    Failed Endpoints:3 
    Affected Endpoint:
    http://spapp1:32843/3f215b603e634a629875945488863f75/ProfileService.svc 
    Event Xml: 
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
      <System> 
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" /> 
        <EventID>8313</EventID> 
        <Version>15</Version> 
        <Level>2</Level> 
        <Task>13</Task> 
        <Opcode>0</Opcode> 
        <Keywords>0x4000000000000000</Keywords> 
        <TimeCreated SystemTime="2014-08-08T23:11:54.738080000Z" /> 
        <EventRecordID>14550</EventRecordID> 
        <Correlation ActivityID="{02A1AC9C-1125-6026-E124-A52653003266}" /> 
        <Execution ProcessID="4284" ThreadID="16072" /> 
        <Channel>Application</Channel> 
        <Computer>spapp1</Computer> 
        <Security UserID="S-1-5-21-499312637-3451022336-10712144539-44056" /> 
      </System> 
      <EventData> 
        <Data Name="string0">EndpointFailure</Data> 
        <Data Name="string1">w3wp</Data> 
        <Data Name="int2">4284</Data> 
        <Data Name="string3">/LM/W3SVC/560632691/ROOT-1-130519915587486075</Data> 
        <Data Name="int4">2</Data> 
        <Data Name="string5">urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&amp;authority=https://spapp1:32844/Topology/topology.svc</Data> 
        <Data Name="int6">1</Data> 
        <Data Name="int7">3</Data> 
        <Data Name="string8">http://spapp1:32843/3f215b603e634a629875945488863f75/ProfileService.svc</Data> 
      </EventData> 
    </Event> 
    Log Name:      Application 
    Source:        Microsoft-SharePoint Products-SharePoint Foundation 
    Date:          8/8/2014 6:51:04 PM 
    Event ID:      8313 
    Task Category: Topology 
    Level:         Error 
    Keywords:       
    User:          VANTAGE\sp_farm 
    Computer:      spapp1.vantage.local 
    Description: 
    A failure was reported when trying to invoke a service application: EndpointFailure 
    Process Name: OWSTIMER 
    Process ID: 8472 
    AppDomain Name: DefaultDomain 
    AppDomain ID: 1 
    Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&authority=https://spapp1:32844/Topology/topology.svc 
    Active Endpoints: 1 
    Failed Endpoints:3 
    Affected Endpoint:
    http://spapp2:32843/3f215b603e634a629875945488863f75/ProfileService.svc 
    Event Xml: 
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
      <System> 
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" /> 
        <EventID>8313</EventID> 
        <Version>15</Version> 
        <Level>2</Level> 
        <Task>13</Task> 
        <Opcode>0</Opcode> 
        <Keywords>0x4000000000000000</Keywords> 
        <TimeCreated SystemTime="2014-08-08T23:51:04.938901900Z" /> 
        <EventRecordID>14596</EventRecordID> 
        <Correlation /> 
        <Execution ProcessID="8472" ThreadID="17360" /> 
        <Channel>Application</Channel> 
        <Computer>spapp1.vantage.local</Computer> 
        <Security UserID="S-1-5-21-499312637-3451022336-10712144539-44056" /> 
      </System> 
      <EventData> 
        <Data Name="string0">EndpointFailure</Data> 
        <Data Name="string1">OWSTIMER</Data> 
        <Data Name="int2">8472</Data> 
        <Data Name="string3">DefaultDomain</Data> 
        <Data Name="int4">1</Data> 
        <Data Name="string5">urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&amp;authority=https://spapp1:32844/Topology/topology.svc</Data> 
        <Data Name="int6">1</Data> 
        <Data Name="int7">3</Data> 
        <Data Name="string8">http://spapp2:32843/3f215b603e634a629875945488863f75/ProfileService.svc</Data> 
      </EventData> 
    </Event> 
    20:22:31.94 SharePoint Portal Server User Profiles cm6y High  
    User Profile Application Proxy failed to retrieve partitions from User Profile Application: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging
    :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 6cd1c1f0-5874-4f8e-9c0a-ed1aff342048     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()    
    at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext)  
    20:22:38.16 SharePoint Portal Server User Profiles d22b High  
    Failure retrieving application ID for User Profile Application Proxy 'User Profile Service Application': Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging
    :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 6cd1c1f0-5874-4f8e-9c0a-ed1aff342048     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()    
    at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_AppID()  
    20:22:44.25 SharePoint Foundation DistributedCache ah24v High  
    [Forced due to logging gap, cached @ 08/08/2014 20:22:38.16, Original Level: Verbose] DistributedCacheClient TransportProperties- ChannelInitializationTimeout '{0}', ConnectionBufferSize '{1}',                                  
    MaxBufferPoolSize '{2}', MaxBufferSize '{3}', MaxOutputDelay '{4}',ReceiveTimeout '{5}'.  
    20:22:55.26 SharePoint Foundation DistributedCache ah24w Unexpected  
    Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache' - Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>:There
    is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been
    granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.). Additional
    Information : The client was trying to com...  

    Thanks for the suggestion.  I performed the service restarts, and then an iisreset an the two web servers, and the application server that does not run the services.  Finally, I ran iisreset on the application server that does run the services.
    After performing those steps, I still cannot manage the user profile service application.
    ULS log at the time of the attempt contains User Profile Application Proxy errors (in my original post) and am also noticing the following error:
    08:15:21.17 SharePoint Foundation General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException
    (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException:
    This User Profile Application's connection is currently not available. The Application Pool or User Profile Service may not have been started. Please contact your administrator.     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ProfileAdminPage.get_CurrentApplicationProxy()    
    at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ManageUserProfileServiceApplicationBase.OnPreRender(EventArgs e)     at System.Web.UI.Control.PreRenderRecursiveInternal()    
    at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean
    includeStag...  

  • Manage session state in web service (web tier)

    Hallo, is anybody know how to manage session state in web service application?
    I 'm building an application using Sun Java System Application Server 8.1, and using web as web service end point.

    By default webservice is a stateless, but there is a option where you can specify the Request scope session/Reqeust/application
    You can use the above and have to make a change in the client side to particiapte in the session.
    Or
    In the server side you can have webservicesession tracker class...very first time when user is authenticated, you generated a unique token and send them with request....and from there on client should send the same token for further request.
    Token is checked with your webservicesession tracker class which maintains all active seesions. Session tracker class can also inactivate the token session if there was no request from the user for a certain period of time....
    Its similar to HttpSession class ( i call it as WebServiceSession.)
    If you need more help on the webservicesession class...pls let me know.

  • 11G : logging to activate 'view log' in manage sessions

    Hi all,
    I was wondering where to activate the logging so the 'view log' option in manage sessions becomes active.
    Anyone an idea because I'm 'travelling' around in the console, but without success.
    Txs for your great help!
    Kr,
    A

    Hi ADB,
    The only option is to do this via the em?Many administration tasks in 11g are the same as 10g. For example, the log level for a particular user is still defined in the security manager, and you still view the query log (nqquery.log) either through the filesystem, or through the Manage Sessions link in the Presentation Server administration screen
    but after doing that also saying no log found,chk the link below
    http://forums.oracle.com/forums/thread.jspa?messageID=7434587
    Hope it helps you.
    By,
    KK
    Edited by: KK on Oct 26, 2010 6:19 AM

  • Configuring roles and users (adf security) application context wise.

    Dear All,
    I referred this tutorial (http://biemond.blogspot.com/2008/12/using-database-tables-as-authentication.html) which shows how to hook up adf security with database schema but at domain level which will be common to all applications in that domain. I want to make it different to each application. (i.e each application will use differene database schema for storing user credientials i.e enterprise roles,application roles and users.)
    Can any one please point me to proper way..
    Regards,
    Santosh
    jdev 11.1.1.2.0

    Dear Frank,
    <i>
    Instead you have a single identity management system and have the application policies being different for the applications.Using ADF Security, users and groups can have different privileges in different applications
    </i>
    suppose i have 3 applications that use adf security, the users will be common to all applications. right..?Roles and group can be different for applications.
    application polices means roles and group..?
    So how it(application polices) can be made different for applications? is it inbuilt or some configurations needed ?. Can you point me to some blogs or tutorials for more reference.
    Bet: Incase i hook up adf security with database schema.
    Regards,
    Santosh.

  • Detecting user session expiry in secure connection

    I have implemented Frank's method of detecting expired session (http://thepeninsulasedge.com/frank_nimphius/2007/08/22/adf-faces-detecting-and-handling-user-session-expiry/)-
    basicaly we call session expired when requested session is not equal to current web session:
    String requestedSession =
    ((HttpServletRequest)request).getRequestedSessionId();
    String currentWebSession =
    ((HttpServletRequest)request).getSession().getId();
    boolean sessionOk =
    currentWebSession.equalsIgnoreCase(requestedSession);
    It works perfectly well when I am launching application in OC4J, but it doesnt if I use JBoss with secure connection and session id in cookie- requestedSession and requestedSession is always the same
    Is there a way to detect session expiry using secure connection?

    Thank You for the answer Frank.
    unfortunately I cannot see full view of how this proposal differ from what I am doing..
    Can You please be more specific...
    As I understand, I am doing exactly the same with:
    String requestedSession =
    ((HttpServletRequest)request).getRequestedSessionId();
    String currentWebSession =
    ((HttpServletRequest)request).getSession().getId();
    or you mean to save currentWebSession somewhere else?

  • How can I pass the session attributes to other applications?

    I need to pass a value across the web application. Is it possible?
    I use Forward to redirect the page in JPF. Before redirection, I set some attribute/value in session. In new application, I found the atttribute value is null. Is there a way to pass the value between web applications.
    Thanks in advance.

    Hi,
    Two different Webapps doesn't share the same session , they have two different. So as far as i known you have to use something like a db to pass variables or another common way. Maybe when you redirect you can store an atribute to the HttpRequest and get it in your other app.Something very simple is to fix the url like that
    http://www.mydomain.com/manager.jsp?passingAttribute=passingValue
    Hope that helps
    BR

  • Powershell generic session and import this session in Exchange remote management session c#

    The situation :
    I am trying to make an application (c#-asp.net) to manipulate user's on an exchange server. The application will be on a different server than the exchange's one. So, to manipulate the data, I am using an "Exchange remote management session" created
    with c#. Exchange remote management session give access to simple powershell command like "New-Mailbox" and "Set-User" - This is good for simple task, but in my case, I have to do more complexe operations that will need some specific command
    that is not included in the default command. To access this command, I have to use some specific module like "ActiveDirectory". It is simple ? Only use "Import-Module" ! Not really, like I said, the "Exchange remote management session"
    is very limited with the command, and "Import-Module" is not allowed...
    So what we can do ?
    I read a lot about my problem, and the most "simple" (That I understand the theory) solution is something like :
    Start with a generic PS session, import the AD module, then connect to an Exchange management session and do an Import-PSSession and use implicit remoting for the
    Exchange management stuff.
    Given that I am pretty new to manipulate the Powershell with c#, I have no idea how to use this awesome solution in my code. So I am asking your help.
    Here's my current code :
    // Prepare the credentials.
    string runasUsername = @"MarioKart 8";
    string runasPassword = "MarioKart";
    SecureString ssRunasPassword = new SecureString();
    foreach (char x in runasPassword)
    ssRunasPassword.AppendChar(x);
    PSCredential credentials =
    new PSCredential(runasUsername, ssRunasPassword);
    // Prepare the connection
    var connInfo = new WSManConnectionInfo(
    new Uri("MarioKart8Server"),
    "http://schemas.microsoft.com/powershell/Microsoft.Exchange",
    credentials);
    connInfo.AuthenticationMechanism =
    AuthenticationMechanism.Basic;
    connInfo.SkipCACheck = true;
    connInfo.SkipCNCheck = true;
    // Create the runspace where the command will be executed
    var runspace = RunspaceFactory.CreateRunspace(connInfo);
    // create the PowerShell command
    var command = new Command("New-Mailbox");
    // Add the command to the runspace's pipeline
    runspace.Open();
    var pipeline = runspace.CreatePipeline();
    pipeline.Commands.Add(command);
    // Execute the command
    var results = pipeline.Invoke();
    if (results.Count > 0)
    System.Diagnostics.Debug.WriteLine("SUCCESS");
    else
    System.Diagnostics.Debug.WriteLine("FAIL");
    This code work great for simple task (like "New-Mailbox") ! But how can I create a "generic PS session" and then use this session in the "Exchange remote management session" ?

    Hi Vincent,
    Generally we can use the cmdlet "import-module" to import the AD module on DC (Domain Controller), and we can also create a exchange remote powershell session with the cmdlet new-pssession, for more detailed information to create exchange remote session,
    please refer to this article:
    Managing Exchange 2010 with Remote PowerShell
    In addition, to invoke powershell cmdlet in C#, please also try to save all the cmdlets to a powershell script (.ps1 file), then we can add the powershell script to C# like:
    Pipeline pipeline = runspace.CreatePipeline();
    pipeline.Commands.AddScript(scriptText);
    If I have any misunderstanding, please let me know.
    Best Regards,
    Anna Wang

  • App Management and Subscription Settings service applications

    Hi,
    I am upgradind SharePoint 2010 services to SharePoint 2013. I have updated UPS, Metadata, Search, Secure Store and now I want to configure App Management and Subscription Settings service applications.
    For all upgraded services I used default IIS pool: 'SharePoint Web Services default'. But now I see that for App Management and Subscription Settings service Mifrosoft uses new iis pools in the configuration guide:
    http://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx
    Could you please advise if I can use defaulf pool 'SharePoint Web Services default' to configure App Management and Subscription Settings service applications?
    If not can I use one pool for both services or should I use separate pool for each service?
    Thanks

    You cannot move the STS. Also, certain SAs right farm admin rights. If the farm will leverage those SAs, I'd encourage you to create a new App Pool for just those SAs, rather than re-use "SharePoint Web Services Default" (to prevent these SAs from
    running under the Farm Admin).
    http://technet.microsoft.com/en-us/library/cc263445(v=office.14).aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Sso session timeout per partner application

    Hello,
    I was just wondering if it is possible to configure SSO session timeouts per partner application? I'm looking to log out users of a particular application after 15 minutes, but don't want this change to affect any of my other SSO enabled applications. Is this possible?
    Thanks,

    Hi,
    I do not think so, you can not specify specail parameter for one application in SSO.
    Why because SSO is one component (within your Infra) through which you logon different apps.
    Another solution may be it will expensive is that you 'll need to use different infra for this specific application.
    Regards,
    Hamdy

  • Error while running a Secured Application

    Hi all,
    we have created an application with a single page, which works fine when we run the same. But if security is enabled for the application, following exception is being thrown:
    <Mar 9, 2011 4:17:51 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1299667669178' for task '2'. Error is: 'java.lang.NoSuchFieldError: RESOURCE_NAME_EXPRESSION'
    java.lang.NoSuchFieldError: RESOURCE_NAME_EXPRESSION
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.getResourceNameExpressionQuery(PermissionSetManagerImpl.java:2448)
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.checkPermissionSetSearchQuery(PermissionSetManagerImpl.java:2464)
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.getPermissionSets(PermissionSetManagerImpl.java:2414)
    at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.clone(JpsDstPolicy.java:935)
    at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.migrateData(JpsDstPolicy.java:442)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoSuchFieldError: RESOURCE_NAME_EXPRESSION
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.getResourceNameExpressionQuery(PermissionSetManagerImpl.java:2448)
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.checkPermissionSetSearchQuery(PermissionSetManagerImpl.java:2464)
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.getPermissionSets(PermissionSetManagerImpl.java:2414)
    at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.clone(JpsDstPolicy.java:935)
    at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.migrateData(JpsDstPolicy.java:442)
    Truncated. see log file for complete stacktrace
    >
    <Mar 9, 2011 4:17:51 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'DSDemo [Version=V2.0]'.>
    <Mar 9, 2011 4:17:51 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.NoSuchFieldError: RESOURCE_NAME_EXPRESSION
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.getResourceNameExpressionQuery(PermissionSetManagerImpl.java:2448)
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.checkPermissionSetSearchQuery(PermissionSetManagerImpl.java:2464)
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.getPermissionSets(PermissionSetManagerImpl.java:2414)
    at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.clone(JpsDstPolicy.java:935)
    at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.migrateData(JpsDstPolicy.java:442)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoSuchFieldError: RESOURCE_NAME_EXPRESSION
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.getResourceNameExpressionQuery(PermissionSetManagerImpl.java:2448)
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.checkPermissionSetSearchQuery(PermissionSetManagerImpl.java:2464)
    at oracle.security.jps.internal.policystore.entitymanager.impl.PermissionSetManagerImpl.getPermissionSets(PermissionSetManagerImpl.java:2414)
    at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.clone(JpsDstPolicy.java:935)
    at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.migrateData(JpsDstPolicy.java:442)
    Truncated. see log file for complete stacktrace
    >
    [04:17:51 PM] #### Deployment incomplete. ####
    Any help on this regard would be greatly appreciated.
    Thanks in advance,
    Raghu

    Hi,
    By secured application, i mean, i have configured security in the Application and ran it in the jdev. The same app was running smoothly without enabling the security.
    Thanks,
    Raghu

  • Firefox has completely crashed today on my computer. I tried to reload it, and my security application closed it as a "malicious threat" . What's going on?

    All applications I try to open from my desktop ,where I used FIREFOX to open them...crash when trying to open. I tried to re-install FIREFOX, but my security application shut it down as a 'malicious threat'.
    What's going on?

    Thanks, I deleted a bunch of apps and some other TV shows I had on there. All of the other movies have an active download button so there is room for other movies, just not that one for some reason...weird!

Maybe you are looking for

  • How do I install software from disk on Macbook Air?

    I have an external CD player but the Macbook Air doesn't seem to recognise it. So how do I get my software from disk onto my Macbook?

  • Unable to log in to Hyperion Planning App Wizard

    Dear All, Unable to log in to Hyperion Planning App Wizard. This is my new installation. There is no error message in the planing windows. After click on log on button, the page just getting refresh and its come to same page only. errors in in the pl

  • I had to uninstall Firefox because I can't uninstall blockandsurf spyware. What do you recommend?

    Some how I stepped in it. I tried Control Panel, TaskManager & RegEdit and it is still there. I had FireFox as my default browser & IE as a back up. Thiis only attacked FireFox. I uninstalled FireFox and it attacked IE. There is an option where you c

  • Application Crash because of active assertions beyond permitted time.

    The crash report details as follows Exception Type:  00000020 Exception Codes: 0x8badf00d Highlighted Thread:  3 Application Specific Information: MyApp[123] has active assertions beyond permitted time:     <SBProcessAssertion: 0x4b52f0> identifier:

  • About Smart Forms

    HI Experts                I need to print dynamic data in vertical on specific window by using table or template or any one.                Example:                             VORNA.                             above data i need to show output like