Obtaining roles from desktop
Hi,
In my project there is a need to obtain all roles entiltled to any desktop.
There are 100s desktops created in the portal and I need to know roles of a specific desktop.I did not find any method of any class in the portal API.
Please help me to findout correct class/api. Thanks in advance.
Nitin
com.bea.p13n.security.management.rolemapper.RoleManagerProxy
contains a method to findout roles from any resource. But I dont know how to get resource Id of any Desktop this is the problem with me.
public String[] listRolesForResource(String resourceId)Lists all role names for this provider associated with the given resource id.
Parameters:
resourceId - the resource the role is scoped to
Returns:
String array of role names
Similar Messages
-
Obtaining roles from any desktop.
Hi,
In my project there is a need to obtain all roles entiltled to any desktop.
There are 100s desktops created in the portal and I need to know roles of a specific desktop.I did not find any method of any class in the portal API.
Please help me to findout correct class/api. Thanks in advance.
NitinI'm not sure which resource Id there after,
theres a couple of classes which might be able to help
com.bea.netuix.servlets.controls.application.DesktopPresentationContext can return you the currently selected definition label of the desktop.
And com.bea.netuix.application.view.DesktopView also claims to return a resourceId(again of the current desktop).
http://e-docs.bea.com/wlp/docs81/javadoc/com/bea/netuix/application/view/DesktopView.html
Hopefully somebody else can help more... -
Error while uploading roles from quality to production
Dear friends,
I have to upload roles from quality to production.
I have downloaded it from qualtiy but while uploading to production it is giving me an error "File does not contain valid data".
Can anybody tell me what could be the problem and how to resolve it.
Thanks in advance
regards
NirgunHI matore,
the best way is to transport the roles from DEV to QA and then to production as julius suggested
are you trying for mass down load are single role
Mass download
go to PFCG >> utilities>> Mass download>> select all the roles which you want to move it to production
and execute save it on desktop
now go to production system>> go to PFCG>>in menu click on roles>>click on upload>>select the file which is saved in desktop and click ok
mass generation of roles
in the menu click on utilities>>mass generation>>give the role names with you have uploaded and click on execute select all click on genetate button
download a single role
go to PFCG>>in the menu click on role>>click on down load and save it on desktop
now go to production system>> go to PFCG>>in menu click on roles>>click on upload>>select the file and click ok
now you needs to manully generate the role
do the user comparison
hope this helps
thanks
kishore -
Transporting roles from sandbox to a DEV environment
Hi all,
We have some external consultants who have been developing/modifying roles in a sandbox. They have put in a lot of work into this effort and do no want to re-create these roles in the DEV environment. Does SAP best practice allow us to transport these roles from the SANDBOX to the DEV ? or do we insist that the roles be re-created in the DEV box ? Will there be maintenance issues down the road if we do the tranport ?
Thanks,
Denis LouisYes, you can download them to your desktop and upload them to the DEV...
PFCG -> Role -> Download and Upload
Regards
Juan -
Downloading an undefined role from CPPM to Controller
Requirement:
In order to provide per-user level access, user roles can be created when a user has been successfully authenticated.During the configuration of a remote access policy, administrator can define a role that should be assigned to the user after successful authentication. If the Role is not defined in the Controller, Role can not be mapped to the User hence we need a solution where we can download a relevant Role from the server.
Solution:
In RADIUS authentication, when Server (CPPM) successfully authenticates a user, the user is assigned a role ( role name) by the Server (CPPM) and if the role is not defined on the controller, the role attributes can also be automatically downloaded from CPPM.
This feature supports roles obtained by the following authentication methods:
802.1x (wireless and wired users)
MAC authentication
Captive Portal
CPPM does not perform any error checking to confirm accuracy of the role definition (policy mapped to the Role). Controller will validate the Policy before downloading.
Configuration:
How to enable :
1. Navigate to the Configuration > Security > Authentication > AAA Profiles.
2. Select an AAA profile.
3. Check the Download Role from CPPM check box to enable role download.
Providing CPPM credentials:
It is mandatory ( From CPPM 6.4 ) to specify CPPM credentials for downloading the Role
Configuring CPPM :
A Role can be defined and mapped trough an Enforcement profile as shown bellow.
We should select “ Aruba Downloadable Role Enforcement” from Template dropdown list.
Add Aruba controller IP in the Device list ( First create a group, Ex “My_Devices” and add the IP address to that group)
Defining and mapping the Policy to the Role :
Define a policy ( ACL) by selecting type of ACL (Stateless ACL/Session ACL/Ethertype)
Add the policy to the Role ( Ex Test_policy)
Add the VLAN and CP profile as per the requirement.
Summary of Enforcement Profile :
Define and Enforcement Policy :
A policy/ Rules required to pickup this Enforcement profile,
Create a new enforcement policy and define a condition for picking the Profile
Defining a Service :
Finally we have to define a Service to handle this Authentication
Define a service by selecting an appropriate template ( Ex Aruba 802.1x Wireless/ Aruba 802.1x Wired/Aruba Guest etc..)
Select desired type of Auth types ( EAP-PEAP, MSCHAP V2 etc..)
Select the Enforcement profile
Verification
Testing :
On successful Authentication, CPPM will push the Role along with the policy to the Controller as shown below.
Role is being downloaded to the Controller :
Role is downloaded and a policy is created :Requirement:
In order to provide per-user level access, user roles can be created when a user has been successfully authenticated.During the configuration of a remote access policy, administrator can define a role that should be assigned to the user after successful authentication. If the Role is not defined in the Controller, Role can not be mapped to the User hence we need a solution where we can download a relevant Role from the server.
Solution:
In RADIUS authentication, when Server (CPPM) successfully authenticates a user, the user is assigned a role ( role name) by the Server (CPPM) and if the role is not defined on the controller, the role attributes can also be automatically downloaded from CPPM.
This feature supports roles obtained by the following authentication methods:
802.1x (wireless and wired users)
MAC authentication
Captive Portal
CPPM does not perform any error checking to confirm accuracy of the role definition (policy mapped to the Role). Controller will validate the Policy before downloading.
Configuration:
How to enable :
1. Navigate to the Configuration > Security > Authentication > AAA Profiles.
2. Select an AAA profile.
3. Check the Download Role from CPPM check box to enable role download.
Providing CPPM credentials:
It is mandatory ( From CPPM 6.4 ) to specify CPPM credentials for downloading the Role
Configuring CPPM :
A Role can be defined and mapped trough an Enforcement profile as shown bellow.
We should select “ Aruba Downloadable Role Enforcement” from Template dropdown list.
Add Aruba controller IP in the Device list ( First create a group, Ex “My_Devices” and add the IP address to that group)
Defining and mapping the Policy to the Role :
Define a policy ( ACL) by selecting type of ACL (Stateless ACL/Session ACL/Ethertype)
Add the policy to the Role ( Ex Test_policy)
Add the VLAN and CP profile as per the requirement.
Summary of Enforcement Profile :
Define and Enforcement Policy :
A policy/ Rules required to pickup this Enforcement profile,
Create a new enforcement policy and define a condition for picking the Profile
Defining a Service :
Finally we have to define a Service to handle this Authentication
Define a service by selecting an appropriate template ( Ex Aruba 802.1x Wireless/ Aruba 802.1x Wired/Aruba Guest etc..)
Select desired type of Auth types ( EAP-PEAP, MSCHAP V2 etc..)
Select the Enforcement profile
Verification
Testing :
On successful Authentication, CPPM will push the Role along with the policy to the Controller as shown below.
Role is being downloaded to the Controller :
Role is downloaded and a policy is created : -
Adobe Bridge CC cannot obtain files from this device.
I am getting this error message when I attempt to upload videos to my Mac from my Canon 7D:
Adobe Bridge CC cannot obtain files from this device. Please be sure the device is properly plugged in and the battery is full charged.
Battery is full charged and camera is connected properly. I have restarted the camera, Bridge, and the computer as well. I tried reinstalling Bridge and it allowed me to upload 3 of the video files. Then the error message came back. There were a few RAW images on the camera that I was able to upload, but when I tried the video again I got the error message. I read a post about renaming the folder that you are saving to as a fix. I tried that as well, but it did not work.
Any help would be greatly appreciated! Thanks!
-JThis excerpt is from a long-gone post by author Bruce Fraser:
Bruce Fraser - 4:17pm Jun 14, 04 PST (#5 of 21) Opening files directly from the camera is a bad idea for a variety of reasons*, and it most certainly isn't faster than using a FireWire or USB2 card reader.
• Drains the camera battery
• Runs the risk of the software you're using to open the images writing to the card and destroying the format
• Runs a small but significant risk of USB power frying the camera
• runs the risk of wearing out the camera's connector,
• Slowest method known to mankind of getting images off a CF or SD card -
How to upload file from desktop or C drive and send as attachments
Hello Experts,
Please tell me
How to upload jpg or gif or drawing files from desktop or any drive and store into R/3 by the same time I have to send mail as a attachment.
I heard that FM
SO_NEW_DOCUMENT_ATT_SEND_API1 is only to send as a attachment what ever the data is present in the internal table only.
please help me on that.I m using this code its having attachment but I m not able to open the file. Please help me
I m using gui_upload to upload the file
PROGRAM ZTEST
no standard page heading line-size 255.
DATA: xfile TYPE string.
data : t_IW51 LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
DATA: DOC_CHNG LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX.
data : email type table of BAPIADSMTP.
PARAMETERS : file LIKE rlgrap-filename OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.
CLEAR file.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = file.
xfile = file.
START-OF-SELECTION.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = xfile
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = t_IW51.
Creation of the document to be sent
File Name
DOC_CHNG-OBJ_NAME = 'SENDFILE'.
Mail Subject
DOC_CHNG-OBJ_DESCR = 'Send External Mail'.
Mail Contents
OBJTXT = 'Minimum bid : $250000'.
APPEND OBJTXT.
OBJTXT = 'A representation of the pictures up for auction'.
APPEND OBJTXT.
OBJTXT = 'was included as attachment.'.
APPEND OBJTXT.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
Creation of the entry for the compressed document
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
Creation of the document attachment
(Assume that the data in OBJBIN is in BMP format)
*OBJBIN = ' \O/ '. APPEND OBJBIN.
*OBJBIN = ' | '. APPEND OBJBIN.
*OBJBIN = ' / \ '. APPEND OBJBIN.
OBJBIN[] = t_IW51[].
DESCRIBE TABLE OBJBIN LINES TAB_LINES.
OBJHEAD = 'PICTURE.PDF'.
APPEND OBJHEAD.
OBJBIN[] = t_IW51[].
Creation of the entry for the compressed attachment
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 1.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'PDF'.
OBJPACK-OBJ_NAME = 'PICTURE'.
OBJPACK-OBJ_DESCR = 'Representation of object 138'.
OBJPACK-DOC_SIZE = TAB_LINES * 255.
APPEND OBJPACK.
Completing the recipient list
RECLIST-RECEIVER = 'email_id have to enter here'.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
RECLIST-RECEIVER = 'ENTEG01'.
RECLIST-REC_TYPE = 'P'.
APPEND RECLIST.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
commit_work = 'X'
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
RECEIVERS = RECLIST
*EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
*OTHERS = 99.
CASE SY-SUBRC.
WHEN 0.
WRITE: / 'Result of the send process:'.
LOOP AT RECLIST.
WRITE: / RECLIST-RECEIVER(48), ':'.
IF RECLIST-RETRN_CODE = 0.
WRITE 'The document was sent'.
ELSE.
WRITE 'The document could not be sent'.
ENDIF.
ENDLOOP.
WHEN 1.
WRITE: / 'No authorization for sending to the specified number',
'of recipients'.
WHEN 2.
WRITE: / 'Document could not be sent to any recipient'.
WHEN 4.
WRITE: / 'No send authorization'.
WHEN OTHERS.
WRITE: / 'Error occurred while sending'.
ENDCASE. -
How to get pages from desktop to iPad using icloud
Can someone help me please?! I am not that great with all of this but have Pages on desktop (version 10.7.4) and have an iPad2, i am trying to get the documents from desktop onto iPad with no luck. I have brought the app for the iPad and have icloud which is working and as far as I am aware everthing is where it needs to be, but how do the documents get onto the iPad??!! Do I have do something, if so what or should it just all appear? Also can you edit a document on the iPad or make a new document, save it and then it will appear on the desktop?
Appreciate any help!
thank you.Aside from using the suggestions (both) above also make sure that you go to Settings>iCloud>Documents and data>on.
If the documents do not appear on the iPad after you have checked the settings, try creating a dummy document on the iPad. It can be anything at all. Quit Pages completely and then launch the app again.
Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
Launch Pages again.
If you were running Mountain Lion you would not need to drag the files into the browser - if you had iCloud all configured correctly on the Mac.
Once iCloud is set up and working as it should, you can simply launch Pages on the iPad, the edited files will appear and you can open and work on them there as needed. when you finish working on the document, the edited file will upload to iCloud again and be accessible in the browser like laxman described.
Message was edited by: Demo -
Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.
Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.
-
How do get the role from ldap session.
i am using the follwing getting the role from the request in openldap and j_security_check:
f(request.isUserInRole("manager")){
how can i use this in the session:You might wanna change permissions for that attribute ...
Change it from Admin to OWNER and you should be able to then get it for any user ...
HTH .. -
How to get the Role from a process
Hi,
I have a process where I have different role panes with human intervention activities. Each human intervention invokes a screenflow.
Is there any method by which I can get the role pane from which an intance is generated
For e.g. in process P1, I have 3 different role panes i.e. R1, R2, R3. Suppose there is an human intervention activity A3 in R3. It invokes a screenflow in which there are different methods. I want to get the roleId here i.e. R3.
Through creation data I can know the instance creator i.e. participant ID, but a participant can have more than one role. I want to get the role from which the Human Intervention activity is invoked.
Please suggest / help.
Thanks
JayantHey Thanks a tonn
It works fine by the following code
role = Activity.role
logMessage "message"
logMessage "Role: " + role.name
role.id returns an int, so I used role.name
Thanks and Regards
Jayant -
Cannot delete .band files from desktop
I was working on a file in GarageBand, I saved the .band file on my desktop, but after I quit GarageBand without saving the work, the .band file went a little weird. I tried dragging it to the trash and cmd-delete it but the message came up saying "The item “Recording Final.band” can’t be moved to the Trash because it can’t be deleted." Later I launched GarageBand again, and when I tried to drag the weird .band file from desktop to the GarageBand icon on my dock, the dock appears to crash, my wallpaper went gray for a second and then the dock came back up. Also when I select the file and hit space bar to do a quick look it shows up saying No Items Selected. I like to keep my desktop tidy don't want these files here blocking the way. Anyone knows the solution to the problem?
The first thing I'd do is just restart your system. You might find the file has disappeared. If not, try deleting it again. If you get the same error msg, do as follows.
Enable 'show path bar' in Finder > View. Highlight the problem file and make a note of the path.
Open Terminal and use the
rm <path to file>
command to remove it (remove the angled brackets). If you want to be on the safe side, use the command
cd <parent directory of file>
to move into the correct folder first.
Example
Suppose the path is:
Lion > Music > Garageband > problemfile.band
In Terminal, you'd type
cd ~/Music/Garageband
Then type
ls -l
Assuming you see 'problemfile.band' in the list, type
rm problemfile.band
If you get an error, try
sudo rm problemfile.band
and enter your admin password (which will be invisible when you type it).
If you still get an error msg, post back here, stating the error msg. -
Cannot copy file from desktop to media card
Whenever I try to copy a file from my desktop to my media card I get an error. When I use the desktop manager software I get the message 'one or more files cannot be copied: FILE_NAME'. When I use Windows Explorer to try the same thing I get the message 'Cannot copy FILE_NAME: parameter is incorrect'.
I do have a proper connection from the desktop to the blackberry because I can open files on the media card and update them. I just have the problem copying the files.
I have been able to copy the files from the desktop to the device memory. Then move it from the device memory to the media card. But there should be no difference between the device memory and the media card.
Note: The file I am trying to copy is a data file (.PDF). While I was having the same problem with music files, I found if I went into advanced parameters from desktop manager and specified the audio file type & bitrate I was able to copy the music file without errors.
I have a blackberry curve 8300
16GB media cardWhen I try to move the files from the Finder Window with the files on the DVD, I do not get the plus sign when I try to drag it to the desktop or any other window. Even when I try with the option key pressed, there is no plus sign with the mouse arrow. Someone suggested to use the terminal and I did. It was a hassle, though.
-
Cannot Delete CPTL file from Desktop using Vista
Hi All,
I cannot Delete CPTL file from Desktop using Vista. Explorer
crashes. It is a Captivate 2 file.
I have tried (with no luck):
- logging in as a different user and deleting the file.
- running explorer as an Administrator
- uninstalling Captivate.
Anyone got any ideas?
Cheers,
RaefHi Raef,
That is a strange issue. Here are a couple more ideas you
could try:
- Have you tried renaming the file (including suffix)?
- Have you rebooted?
- Do you get any error messages when trying to delete, such
as "Acess Denied"?
- Is your machine networked? Is it possible someone else has
the file open?
- Can the file be moved to another location or put in a
folder (and then deleted)?
- Have you tried using the Command Prompt / DOS mode to
delete the file?
It sounds like it could be a Vista issue so I would look at
the Microsoft Vista forums too. Sorry I do not have an exact
answer.
IHTH,
Aaron -
unable to delete Role from User ID in SAP SOLMAN production system but able to from DEV with the same authorization, pls suggest
Hi,
For SU01 role removal, you do not need S_USER_AGR with 02, and as you mentioned both authorizations available in production, if so trace should not show you the S_USER_AGR with 02 with RC=04.
I would recommend to do role comparison for the user performing the activity. and then check if you have the S_USER_AGR with 02 in user buffer SU56.
But ideally it should not ask you S_USER_AGR for 02 through SU01, so please take help of abaper to debug it.
Also put trace in non-prd to see if S_USER_AGR is getting checked with 02 for removal through SU01.
BR,
Mangesh
Maybe you are looking for
-
ITunes locks up computer when it cant read disc
Every time I try to import one of my CDs with iTunes, one of the tracks will not import properly and the computer will just lock up when I try to eject the CD. This doesn't happen on every disc, but on at least every other one. All my discs are kept
-
After iOS 5.0.1 OTA update Siri is no longer working
Anyone having the same issue? Since I updated to 5.0.1 Siri no longer works. All I get is the typical " I'm really sorry about but I can't take any requests right now. Please try again in a little while ". Any ideas? I've powered off the phone, reboo
-
I have a uk ipad2 with 3G and am going to the USA I want to get a micro sim from AT
I have a UK ipad2 with 3G and am going to the USA. I want to get a micro sim from AT&T so that I can use 3G in the USA. My question is that I know that I will need to sign up for an AT&T account on my Ipad. Do AT&T accept foreign credit cards so tha
-
In day 4, video # Creating "pages" with Flex states doesn't work
i can't open video training http://www.adobe.com/devnet/flex/videotraining in day 4. it's name( Creating "pages" with Flex states ) doesn't work, it report error. supporter can look it and solve problem
-
Why can't I upload photos in Facebook?
The uploader freezes when I try to upload photos to a Facebook album. I have to quit Firefox and use IE to upload.