Search:

Type: Posts; User: vishal; Keyword(s):

Search: Search took 0.01 seconds.

  1. Thread: Examples

    by vishal
    Replies
    5
    Views
    2,907

    Hi We are moving towards SOA and currently...

    Hi
    We are moving towards SOA and currently evaluating available webservices platforms. I am pleased to know that spring has something great to offer in this area but the problem is lack of reference...
  2. Replies
    7
    Views
    1,260

    I see no problems with the...

    I see no problems with the UserCredentialsDataSourceAdapter and perhaps the better way.
  3. Replies
    7
    Views
    1,260

    SecurityContext in SecurityContextHolder holds ...

    SecurityContext in SecurityContextHolder holds successful authentication object. Which means we can not possibly get credentials out of SecurityContextHolder before the successful authentication.
  4. Replies
    3
    Views
    1,962

    rolePrefix in Rolevoter worked too

    <!-- An access decision voter that reads ROLE_* configuration settings -->
    <bean id="roleVoter" class="org.acegisecurity.vote.RoleVoter">
    <property name = "rolePrefix" value = "" />
    ...
  5. Replies
    7
    Views
    1,260

    construct datasource from login details.

    The usecase is:
    DBA users will provide username and password from the acegi login form. The datasource object should be constructed using login username and password. And the authentication will...
  6. Replies
    6
    Views
    1,595

    You may extend...

    You may extend org.acegisecurity.providers.AuthenticationProvider and override
    authenticate(Authentication authentication) method to provide custom authentication.

    configure your custom...
  7. Replies
    2
    Views
    1,608

    could you please print your servlet.xml and the...

    could you please print your servlet.xml and the detailed logs.
  8. Replies
    4
    Views
    1,017

    Hi Ben I am using acegi 0.9.0. No, not using...

    Hi Ben
    I am using acegi 0.9.0. No, not using remember me authentication. yeah browser caches the successful rendered page.
  9. and how do we swap cglib with jdk proxies? might...

    and how do we swap cglib with jdk proxies? might be a trivial question but sorry have no idea.
  10. Replies
    5
    Views
    1,089

    yeah that was my early thoughts on the subject...

    yeah that was my early thoughts on the subject untill I realised UserManager is being injected in to userController and userController is my Controller configured in SimpleUrlHandlerMapping :). Can't...
  11. Replies
    4
    Views
    1,017

    Role caching problem

    I think it's a caching problem but I'm not sure.

    If I try to log in as a user who's not authorized to access certain url I get 403 as expected.
    But if I login as a user who IS authroized to...
  12. Replies
    3
    Views
    1,117

    you may implement...

    you may implement net.sf.acegisecurity.providers.AuthenticationProvider
    and implement your own authenticate method which should return net.sf.acegisecurity.Authentication object on successful...
  13. How do i switch cglib proxy to jdk proxy. I get...

    How do i switch cglib proxy to jdk proxy. I get the OutOfMemory on JBoss when I try redeploying the application few times.
  14. Replies
    5
    Views
    1,089

    View Post

    <!-- class in ear configured in applicationcontext.xml file in war-->
    <bean id="functionHandler"
    class="com....component.FunctionHandlerSingleton"
    factory-method="GetInstance" lazy-init="true">...
  15. Replies
    5
    Views
    1,089

    bean dependency issue

    Hello All

    I have two applications running on JBoss server packaged as ear and war. Some classes in war depends on couple of singletons, facade around EJBs, in ear. The problem is JBoss deploys...
  16. Replies
    3
    Views
    1,962

    Thanks Ben! I prefixed my role names with...

    Thanks Ben!

    I prefixed my role names with ROLE_ while retrieving from the database for now. I will try Rolevoter.setPrefix once I get everything working :)
  17. Replies
    3
    Views
    1,962

    Granted authorities format exception

    My application have following type of roles assigned to users

    CLIENT_MANAGING_BUSINESS
    BUSIENSS_SERVICES_SUPERVISOR
    CLIENT_EQUIRY_SERVICES

    configuring these in applicationcontext file gives ...
  18. Replies
    4
    Views
    1,568

    hope using authentication request to retrieve...

    hope using authentication request to retrieve principal from, well try this
    SecurityContextHolder.getContext().getAuthentication().getPrincipal()
  19. Replies
    2
    Views
    1,346

    problem solved

    Updating to standard.jar-1.1x and changing
    <%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    to
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

    solved the problem :)
  20. Replies
    4
    Views
    1,568

    custom AuthenticationProvider

    Well I managed to get it working. I have hardcoded username/password values to startoff with but atleast I can see acegi working in my application

    This is the code

    package...
  21. Replies
    2
    Views
    1,346

    acegilogin.jsp exception

    Hello Everyone

    the following fragment from my acegilogin.jsp file is causing the following exception. Any clue?

    <c:if test="${not empty param.login_error}">

    SEVERE: Servlet.service() for...
  22. Replies
    4
    Views
    1,568

    help in custom AuthenticationProvider

    I need to get user authenticated from a existing class UserManager#login(username,password) which returns me a Token object. I don't understand how the authentication process works. Login forms...
Results 1 to 22 of 22