How to configure simple project JSF 2.1 with any Spring Security?

Hi guys,
I need something for beginning, very basic configuration for JSF 2.1 + Spring Security?
Or may by do you know nice and simple security for JSF projects?
Thx

Hi,
I rode Spring manual ;-)
It doesn't help me to integrate JFS+SpringSecurity.
Propably because I pretty new in security apps.
Already, I don't know Maven :-( I've never use it.
+"You'd have to explain what your requirements are. If it is basic user authentication only then you can just use the authentication services built into the JEE specification, which you should research."+
I mean: User can log into service and has rights only for specific files (jsf).
I would be grateful for any help.
Thx
ps.
I can set at list basic Spring+Spring Security.
I've tried "JDBC security realm with glassfish", it works, but setting it is nightmare for me.
Edited by: val75 on Jan 24, 2013 1:46 PM

Similar Messages

  • How to configure the services(WDA) in ESS with EHP7

    Hi Experts,
    I have a requirement to configure ESS/MSS in R/3 . fisrt time am going to configure the ESS/MSS in R/3 with  EHP7.currently we are using
    ECC6.0  EHP7 with SP 2 and portal 7.4 can any one help me out which business functions need to be activate and which components need to activate.
    How to configure the service in launch pad with WDA.please guide me the step by step procedure.
    Please share the config guide if anyone have.

    hi sap scn ,
    Tips & Recommendations for customizing ESS Menu (WD ABAP) -   ess launchpad
    Summary of configuration options in ESS Personal Information scenario  -personal information
    go to t-code lpd_cust see ROLE ESS and INSTNACE MENU ...Clcik it and copy to Z launchpad and drag and drop the services which u want and use it
    if any other revert back again 

  • [SOLVED]How to configure pptp vpn start on boot with netcfg?

    I've configured 2 profiles:
    eth0 and ppp0, where ppp0 is a pptp vpn tunnel.
    $ ls /etc/network.d/
    eth0  examples  interfaces  ppp0
    $ cat /etc/network.d/ppp0
    CONNECTION='ppp'
    INTERFACE='ppp0'
    PEER='dxt'
    PPP_TIMEOUT=10
    $ cat /etc/conf.d/netcfg
    # Enable these netcfg profiles at boot time.
    #   - prefix an entry with a '@' to background its startup
    #   - set to 'last' to restore the profiles running at the last shutdown
    #   - set to 'menu' to present a menu (requires the dialog package)
    # Network profiles are found in /etc/network.d
    NETWORKS=(eth0 ppp0)
    # Specify the name of your wired interface for net-auto-wired
    WIRED_INTERFACE="eth0"
    # Specify the name of your wireless interface for net-auto-wireless
    WIRELESS_INTERFACE="wlan0"
    Manually, I can start up ppp0 correctly.
    $ sudo netcfg -u ppp0
    :: ppp0 up                                                                                                                                                                 [ BUSY ] Using interface ppp0
    Connect: ppp0 <--> /dev/pts/3
    CHAP authentication succeeded
    MPPE 128-bit stateless compression enabled
    Cannot determine ethernet address for proxy ARP
    local  IP address 10.100.3.132
    remote IP address 10.100.3.1
                                                                                                                                                                               [ DONE ]
    $ ip addr list dev ppp0
    8: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1496 qdisc pfifo_fast state UNKNOWN qlen 3
        link/ppp
        inet 10.100.3.132 peer 10.100.3.1/32 scope global ppp0
    But after booting, only eth0 is up. How to configure ppp0 to start on boot with netcfg?
    Last edited by rchiang (2012-12-21 01:09:32)

    Thanks a lot for your instruction.
    netcfg works now!
    chris_l wrote:
    Did you
    systemctl enable [email protected]

  • How to Configure Transparent caching on Cat 6500 with CSM in bridge mode?

    hi.
    I found How to Configure Transparent caching on Cat 6500 with CSM in routed mode.
    But,
    I need help How to Configure Transparent caching on Cat 6500 with CSM in bridge mode?
    Please let me know sample configuration.
    thanks.

    Hi,
    I wrote the document you mentioned and I also wrote the one below.
    http://www.cisco.com/en/US/partner/products/hw/modules/ps2706/products_configuration_example09186a00802c1201.shtml
    The one with the SSLM is a bridge mode config.
    If you replace the SSLM with a cache [or a farm of caches] it would be a similar config.
    Replace the SSL21 vserver with an HTTP vserver [most important is to keep the vlan configured on each vserver]
    Regards,
    Gilles.

  • How to run java signed applet in vista with changing IE security options

    how to run java signed applet in vista with changing IE security options. If i change the IE security settings to low. it works.
    without changing the security setting, how to run.

    j_nanaji9 wrote:
    how to run java signed applet in vista with changing IE security options. If i change the IE security settings to low. it works.
    without changing the security setting, how to run.Can't be done without changing the security setting.

  • How to configure cRIO 9004 and link it with Labview?

    Today i tried to connect the cRIO 9004 to my pc using the serial cable
    but unfortunately the controller was not detecting on my pc. Then I
    turned on the IP reset button and tried connecting it using LAN to get
    an IP address but it also didn't work. I was looking for drivers on the
    internet and NI website but I couldn't find any directly related ones.
    Status light is blinking slowly and continuously(one flash every
    couple of seconds). According to cRIO 9004 manual it indicates "That the
    controller is unconfigured. Use MAX to configure the controller.
    Refer to the Measurement & Automation Explorer Help for information
    about configuring the controller".
    I tried MAX but its still not detecting the controller to configure.
    It would be great if you'll could help me out with this as I'm configuring this type of a controller for the first time.
    Thanks and regards
    Kavin

    Hey,
    First of all get sure that you have LV RT and FPGA as well as the NI RIO driver installed at your system.
    Then the easiest way would be to use a crossover ethernet cable to directly connect the cRIO to your PC.
    Give the PC a static IP Adress e.g. 100.100.100.100. Deactivate Firewall and Virus Scanners.
    Reboot the cRIO with IP Reset Switch ON, then it should appear in MAX under Network Devices with IP 0.0.0.0.
    Give the cRIO also a static IP like 100.100.100.111, set IP Reset switch to OFF before saving this settings.
    Now you can install the software at your cRIO also via MAX.
    Then you should be able to find it in LabVIEW by right-clicking "Project UntitledX" and "Add Targets and Devices".
    There should be different tutorials online how to configure a cRIO or other Realtime targets.
    Christian

  • How to Configure Transparent caching on Cat 6500 with CSM in routed mode

    I am trying to configure Transparent caching on Cat 6500 with CSM in routed mode, but facing some problems in it , also I have gone thru the example config on cisco site for transparent caching using CSM on Cat 6500 , but the above does not fit my clients requirement.
    The scenario is like
    Access Switches - Cat6500 with MSFC & CSM - Internet Router
    |
    Cache Engines and Real servers
    The clients as well as real servers are on seperate VLANs (L3) and the requirement is to load balance the internet traffic using cache engines.
    I'd really appreciate any helpful suggestions or any useful links/docs/info on this.
    Thanks
    kumar

    Hello Joerg,
    Thanks for the reply.
    I have already gone thru the sample config shown by this weblink, however this link refers to configuring transparent caching on the CSM in BRIDGED MODE ( i.e both the client and server vlans are having the same IP address ) but in our case , we have multiple L3 VLANS on the CAT6509 having IP addresses in different SUBNETS , and the Real servers to be used for caching also exist on one of these VLANS. Thus, the scenario described by the Weblink does not apply here. Also , in the configuration referred by the above weblink, the VLAN 100 is configured as client , however the endusers are shown to be on vlan200 which is configured as SERVER VLAN in the CSM.
    Dont you think there is something wrong here, I mean the endusers should be on VLAN 100 (Client) and real servers on VLAN 200 (SERVER).
    So, I have to configure CSM in routed mode ( i.e both the client and server vlans will have seperate IP addresses in different subnets ) and the endusers will be on all VLANS .
    Pls let me know , how I can implement this solution.
    Thanks again
    Sudhir

  • I PXI 1010 with Digital Osci, RIO cards. Any simple projects to illustrate PXI with Signal Express and/or using Digital Osc.?

    I have PXI 1010 with card for Digital Osc. Also have ELVIS. Any suggestions on oa simple project to illustrate applications of PXI - using Dig OSc and/or ELVIS. Any suggestions to illustrate PXI with Signal Express exercises. This is for undergraduates in EE Engg.

    Hi, yes, that does help, thank you for your reply.  Signal express does make it easy to work with multiple devices, as I am, though something seems to be amiss with the timing between cards.  For example, setting Signal Express to do nothing more than log data at 100 pts/sec on all channels on all three cards (PCI-6289), and using the software trigger in Signal Express to start the digitization process, and the stop button, to stop data logging, certainly seems to be a very convenient solution.  However, the longer I record (an hour seems to be enough time), the more likely that a signal recorded on all three cards, will not synch, point to point, (comparing signals recorded on channel 0 on all three cards, which I believe should be captured simultaneously through out the recording process, for example) and data recording does not stop simultaneously on all three cards.  I can handle the data logging not stopping simultaneously, but my source signal apparently not being recorded synchronously is a whole other problem, and the impetus for my question.  Thanks for the tip about NI-SCOPE, I was going to start working with that on a different project.
    I am using the most recent versions of SignalExpress, NIDAQmx drivers, etc., on a PC running 64-bit windows 7.
    regards,
    Brian

  • How to configure Cisco ASA 5500 to work with the iPhone

    We have Cisco ASA 5510 (latest firmware version), and apparently, according to Cisco website it is compatible with new iPhone 3G's IPSec client:
    http://www.cisco.com/en/US/docs/security/vpnclient/cisco_vpnclient/iPhone/2.0/connectivity/guide/iphone.html
    We've setup our first iPhone properly. It connects fine to the network, shows VPN connection as active. Gets a private IP address. But does not let any traffic go to the internal network. We thought it might be DNS problem, but it cannot connect to Exchange server even when using IP address instead of DNS. No luck either.
    After checking ASA logs, we found that iPhone goes through Phase 1 authentication correctly. But then gives some kind of error, mentioning "Attribute 5".
    Has anybody been successful configuring ASA5500 series (in particular 5510) to be used with iPhone?
    I noticed that many people are having these problems.
    Please do not post to this topic if you have ANY OTHER Cisco device.
    Cisco specifies that iPhone is compatible only with Cisco ASA 5500 Security Appliances and PIX Firewalls. Neither Cisco IOS VPN routers nor the VPN 3000 Series Concentrators support the iPhone VPN capabilities.
    Let's keep this topic only for users of ASA 5500 series and PIX Firewalls.
    It would be extremely helpful for a large number of users if somebody posted a list of settings for ASA5500 or PIX firewall that DO work with iPhone 2.0
    Thank you!
    Oleg R

    We found the solution and a bug in Cisco firmware (seems to be a bug).
    First of all, thanks to our Chief Systems Architect Seb, here is a config that worked for us on a Cisco 5520 (latest firmware).
    access-list iphone_splitTunnelAcl standard permit <insert ip> <insert mask>
    access-list iphone_splitTunnelAcl standard permit <insert ip> <insert mask>
    crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
    crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
    crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
    crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
    crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
    crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
    crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
    crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
    crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
    crypto ipsec transform-set iphone esp-3des esp-sha-hmac
    crypto ipsec transform-set iphone mode transport
    crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
    crypto dynamic-map SYSTEMDEFAULT_CRYPTOMAP 65535 set pfs
    crypto dynamic-map SYSTEMDEFAULT_CRYPTOMAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5 iphone
    crypto map outside_map 10 match address vpn
    crypto map outside_map 10 set transform-set ESP-AES-256-SHA
    crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEMDEFAULT_CRYPTOMAP
    crypto map outside_map interface outside
    crypto isakmp enable outside
    crypto isakmp policy 10
     authentication pre-share
     encryption 3des
     hash sha
     group 2
     lifetime 86400
    crypto isakmp policy 20
     authentication pre-share
     encryption aes-256
     hash sha
     group 5
     lifetime 86400
    crypto isakmp nat-traversal 20
    group-policy iphone internal
    group-policy iphone attributes
     wins-server value <insert ip> <insert ip>
     dns-server value <insert ip> <insert ip>
     vpn-tunnel-protocol IPSec
     ipsec-udp enable
     ipsec-udp-port 10000
     split-tunnel-policy tunnelspecified
     split-tunnel-network-list value iphone_splitTunnelAcl
     default-domain value <insert domain name>
    tunnel-group iphone type remote-access
    tunnel-group iphone general-attributes
     address-pool VPN-Pool
     authentication-server-group ActiveDirectory2
     default-group-policy iphone
    tunnel-group iphone ipsec-attributes
     pre-shared-key <insert pre-shared key>
    For iPhone you have to be using IPSec tab for configuration.
    We tried to set up this config using the wizards, but it would not work.
    Later it turned out that wizards by default set this setting:
    "crypto isakmp nat-traversal 20"
    equal to zero and there is no way to change it from the GUI.
    Only after we changed it (increased the value from 0 to 20) through the command line the connection started working perfectly.
    Please let me know how it works out for you.
    Message was edited by: Rogik
    Message was edited by: Rogik

  • How to configure LabVIEW 2010 to communicat​e with GE Speedtroni​c Mark VI ethernet global data (EGD)

    We want to use LabVIEW 2010 to send/receive floating points from LabVIEW 2010 to/from a network (192.168.101.xxx) that utilizes GE ethernet global data protocol (EGD).
    The network has several HMI's running Cimplicity Plant Edition 4.01.
    We can configure Cimplicity to read modbus points from LabVIEW using LabVIEW's multi-variable editor and a modbus slave library.
    However, we cannot get the points from LabVIEW to read/write to the EGD protocol.  Anyone ever run into this?

    EGD is a UDP message (port 4746h) with a special header.See below for header structure (32 Bytes). Send UDP at constant rate. Limit user data to 1400 bytes. If you want to receive EGD data don't forget to increase the MaxSize connector on UDP receive to 1500. Are you using the a csv file or SDB Server to get tag names? Or manually entering tag names in cimplicity? This works much better than OPC because all parameters are contained in your labview executable. If you have a redundant cimplicity HMi Server send as Broadcast to the local subnet. All consumers will get the EGD telegram.  Example IPA of 192.168.0.255.  Server 1 IPA 192.168.0.1 and Server 2 IPA 192.168.0.2
    Maybe to late for this project but would be a good upgrade or the next project.

  • How to make new project in existing folder with applescript in Aperture?

    I want to create a new project in an existing folder. I've scoured the web for answers to this but I cant find any. The closest I've come is this:
    tell application "Aperture"
    set imgSel to (get selection)
    if imgSel is {} then
    error "Please select an image."
    else
    set pName to name of parent of item 1 of imgSel
    set pID to id of parent of item 1 of imgSel
    set cID to id of parent of parent of item 1 of imgSel
    set cName to name of parent of parent of item 1 of imgSel
    set cLoc to folder cName
    tell library "Aperture Library"
    make new project at cLoc with properties {name:pName}
    repeat with i from 1 to count of imgSel
    move item i of imgSel to project (pName)
    end repeat
    end tell
    end if
    cLoc
    end tell
    Which returns:
    error "Aperture got an error: AppleEvent handler failed." number -10000
    Can anyone enlighten me as to what I'm doing wrong here or show me another way to achieve my goal, thanks?

    when you say 'new project in an existing folder'..... I assume you mean to create a new Project inside of an existing "Blue" folder...?
    Easy.... Select (click) the Blue folder you wish a new Project to appear inside > At the top left corner where it says "new" click the drop down arrow and select the project icon and click it.
    Easier still > select the Blue folder you wish another Project to appear inside > use 'Command & N' on the keypad and away you go...
    If you dont mean the above...? and you want a blue folder inside a blue folder..?
    To create a new blue folder use either the 'New' icon again at the top of the library inspector and click the blue folder icon or (Shift & Command & N ) on the keypad. Then select the new blue folder and repeat the process again...... A folder inside a folder..
    Couldn't be simpler....
    Aperture already provides these simple commands.... I cant imagine why you want to write an 'Applescript Action' for it.... Unless just for the heck of it...??
    Regards..... Gerry...

  • How to Configure MS Office Comminication Server 2007 with WebCenter Spaces?

    Hello All,
    Has anyone successfully configured MS Office Comminication Server(OCS 2007) with WebCenter 11g Spaces?
    I have installed the RTCServices on the MS OCS server, and wll the services and wsdls are accessible. The IM is working with MS Communicator and also Communicator Web Access (CWA). The Webcenter administrator guide does not have any configuration information about how to use the RTCServices (extracted from Oracle's owc_lcs.zip, part of the Oracle Fusion Middleware Companion 11g).
    In the EM's webcenter control -->Settings -->Service Configuration, I tried to create a new IM service and an External Application but not sure what the URL to use.
    If anyone have a successful OCS 2007 integration, could you please share your configuration steps?
    Thanks,
    Johnny
    Edited by: user459212 on Feb 10, 2010 12:30 PM
    Edited by: user459212 on Feb 10, 2010 12:31 PM

    Hi,
    I am also facing the same issue, not sure about what url to use. And also the login webservice doesn't work while I am testing using http://localhost:81/RTC/RTCService.asmx. It always throwing the following error
    " Unable to cast COM object of type 'RTCLib.RTCClientClass' to interface type 'RTCLib.IRTCClient'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{07829E45-9A34-408E-A011-BDDF13487CD1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."
    Is the current owc_lcs.zip support MS Office Communication Server 2007?
    Please share the configuration step if anyone already integrated OCS 2007.
    Thanks,
    -Mukesh.
    Edited by: user9127933 on Feb 19, 2010 4:05 AM

  • How to Configure two standalone Server to access with eachother

    Hi All,
    I have two stand alone Servers (SQL 2000) configured in two PCs in different locations (Location A & Location B) . I want to access Location A database from Location B Viz-Versa. 
    1. I have a STATIC IP provided by ISP and I m using a router (Linksys E1000) 
    2. I have Windows Server 2003 installed on one of the PC.
    3. Both the Locations are in two different places, ISP providers are also different.
    How can I setup the access. I have googled a lot of solutions but not able to crack.
    Regards
    Pradeep

    Hi Pradeep Sriramdas,
    SQL Server 2000 was out of support since April,2013. I suggest you can try to install SQL Server 2005 or later version. According to your description, you plan to connect to the SQL Server database engine from another computer, you must enable the protocol
    in SQL Server Configuration Manager, such as TCP/IP;
    When you want to connect to one instance from another computer, you also must open a communication port in the firewall.
    In SQL Server Configuration Manager, you need to configure SQL Server to listen on a specific port; In addition, you configure the remote access server configuration option in SQL Server by using SQL Server Management Studio or Transact-SQL.
    You ‘d better adding two different computer in the same domain, and choose to connect to instance via domain name.
    There are more details about configuring the connection from another computer, you can review the following article.http://technet.microsoft.com/en-us/library/ms345343.aspx
    http://technet.microsoft.com/en-us/library/ms191464.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How  I can  open projects of imovie recovered with data rescue?

    Hi, I recovered my imovie projects but when I am going to open them , imovie say that it can`t open them . How I can recovered my films of iMovie.? Thanks .
    Message was edited by: Dalanina

    Nevermind, the Thorough Search option in Data Rescue found the files I thought were gone for good .

  • How to configure the client tnsnames.ora parameters with a MTS Server

    i have modified init.ora and start my oracle
    as a MTS instance.
    my client tnsnames.ora is the dedicate server
    model.
    how can i modify it and my clent can use
    MTS server.
    null

    Hi,
    I dont think u will have to configure anything seperatley on the tnsnames.ora file to connect to a MTS Database.
    I Hope i am right.
    Regards,
    Ganesh R

Maybe you are looking for