role

Asp.Net Role-based authentication using Security groups in Active Directory

I am attempting to do something simple (I thought) - securing my application using roles-based security using ActiveD groups in our Domain. Specifically, I need to show/hide items on a page depending upon whether the currently logged in user is part of "domain\groupA" in ActiveD. For some reason, it is difficult finding information on u...

Acegi Security: How do i add another GrantedAuthority to Authentication to anonymous user

i give users special URL with access key in it. users accessing the public page via this special url should be able to see some additional data as compared to simple anonymous user. i want to give some additional role to anonymous user based on parameters provided in request so i can do something like this in my template: <@sec.author...

Clean document roles in a Doc Library

Hello guys... I have been developing an event handler to clean up the RolesAssignments of the new item of a document library in MOSS. I’ve searched for a method that could clean all the RolesAssignments efficiently, although the best way I found seams to be loop through the RolesAssignments and delete one by one. ¿Is there another way ...

Active Directory Security Group and Role in asp.net

I have a security group in AD. I want to assign Administrator role to members of that security group. What is the best way to do it? ...

How do I access JAAS roles at arbitrary point in the code?

I want to access the full model of users with their roles in my SOAP app. For example, I might want to know the role of a user called "Fred." How do I reach into some sort of global JAAS registry and do (pseudocode) globalRegistry.getUser("Fred").getPricipals()? (Note that in JAAS, roles are represented by Principals.) I know how to...

Writing Custom Roles Provider For Master Pages/No Machine.Config

I'd like to write a custom role provider for my application, which has existing users and roles tables. I'm looking for a reference on that, which: doesn't require machine.config changes (I see this a lot in custom role architectures), supports master pages that may be applied to child pages that require different rights. ...

How can I add a role in code, J2EE

I'm using jboss 4.2.3 and jaas org.jboss.security.auth.spi.DatabaseServerLoginModule. After a user is logged in I want to add a role to it. How can I do it? For example, the user clicks in a button and a role is added... Clarification: I have 1 app where a user does the login. In the login the users gets some roles (from the db). Afte...

Sitecore role hierarchy

Is there any way to implement role hierarchy in 5.2/5.3 sitecore? ...

Role Based Access Control DB Design

This question isn't about the database design of the RBAC system itself, but rather how to use this database in conjunction with the application specific database when that web application allows its users to submit content. As it stands my RBAC should easily work for a simple back-end admin application, where staff can add and update r...

Asp.net User Roles Management: Where to Begin

I'm new to User Roles Management. I was reading my Wrox Programming book on asp.net 3.5 user role management...but it was hard to follow along, as I do not have a local server set up to test on (I do...but...thats a separate question), but rather currently test on a remote server (where the website is hosted, theres not enough hits wher...

In ASP.NET, what to use to manage roles and permissions assigned to roles?

Hi, I am working on a ASP.NET web application. I have this well known issue: each user can belong to one or several roles (admin, public users), and each role can have one or several permissions (can edit, can delete, can upload, etc.) and vice versa. I want to do smth like this: [http://demo.sitefinity.com/Sitefinity/Admin/Modules.aspx...

Whats the difference between Object Role Modeling and Object-relational mapping?

I have learn about Object role modeling but not about Object-relational mapping and I want to know if they are two ways of doing the same thing and what are the pros and cons? To me Object role modeling makes a lot more sense. Could you make a brief but easy to understand comparison if they can be compared. Cheers ...

Variable Role Management

How to implement Variable Role Management in Forms Authentication. The case is: We are tracking various projects across various stages... A Particular person Emp1007 could be involved in various projects in different roles... Project Lead for Pr001, Beneficiary for Pr002, Associate for Pr003. There is a page, where in the user will be...

How to single sign on for Linux RedHat server from windows desktop

We are hosting our portal pages on a linux box. I am supposed to implement a single sign on where the user logs into his/her windows xp desktop and that login is consumed by the portal and used to set the user role appropriately. I really would like some answers on how this can work best. Environment: Jboss 4.2.2GA Jboss portal 2.6.5 ...

Azure App wont start

every time i try starting my azure application. I try building it and it says it has all successful build attempts but i am getting an error that says: "Windows Azure Tools: Start role failed for one or more roles " I cannt see why i am getting this error, since i followed every step as stated in the tutorial videos. please help. I am us...

Drupal Custom Login by Role

I have a cURL PHP script which is able to validate a username/password against the external source. What is the best way to integrate this as a login requirement for (select) users in Drupal? The idea would be to add the external authentication as a login requirement for a role. ...

SQL Server 2000 - View list of sprocs with GRANT EXECUTE for a particular role exclusively ?

There are approx 500 sprocs in my SQLSERVER 2000 database; each sproc has a typical Grant Execute statement similar to the following. GRANT EXECUTE ON [dbo].[sproc_name] TO [role1], [role2], [role3], [role4], etc... How to view the names of the sprocs which have grant to a particular role and only that particular role exclusively...

xaml: Is there a method to implement OR logic in multiple triggers?

I want the Role to be either TopLevelHeader OR TopLevelItem as well as IsPressed. Is this possible without specifying two MultiTriggers? <MultiTrigger> <MultiTrigger.Conditions> <!-- IsPressed --> <Condition Property="IsPressed" Value="True"/> <Condition Property="Role" Value="TopLevelHeader"/> </MultiTrigger.Conditions> ...

Drop role in SQL Server database?

I am trying to drop one of the role in my SQL Server database. I dropped all the members from the role and when i tried to drop role i got this error message: Msg 15138, Level 16, State 1, Line 13 The database principal owns a schema in the database, and cannot be dropped. Does anyone know why? I checked the Owned Schema and it only h...

View all securables for roles in SQL Server database?

How can we show all the securable that is added in any particular role in script? ...